Open aryehraber opened 4 years ago
@aryehraber Exporting works great! However, I'm having trouble importing falsy values. For example, I have a toggle on a page which is currently enabled, I export and change the value from true
to false
and then import it again. The toggle doesn't seem to change.
@mattias-persson Thanks for testing and the feedback -- can definitely take another look!
Before I do, just want to double check: did you check the translated version for the toggle change or the original? I kept making this mistake while testing 🙈
@aryehraber Pretty sure I tried both! When only changing the target
value to false
nothing happened 🙂
@mattias-persson Cool, thanks for confirming. Will run some more tests later this week and report back!
This PR tackles #11 by casting booleans as strings during export, and then back to booleans during import.
Let me know if you have any questions!