-
Notifications
You must be signed in to change notification settings - Fork 0
Does upload_translations avoid overwriting newer translations? #1
Copy link
Copy link
Open
Description
We currently do something we call "the WTI dance" where we are very careful about not removing translations from WTI that we do not yet have locally.
We like the idea of replacing our current routine with this action, but it's not clear to me from the docs what risks it has in this respect. Could you clarify?
Here is an example scenario:
- Source locale in EN, targets are SV and DE
- Locally, a dev adds a new key "bar" with both EN and SV translations, but not DE
- Now, if we would just blindly
wti pushand thenwti push -t, we risk uploading a file that removes or rolls back some translations (say "foo") that were made between our lastwti pulland the time that wewti push -t - To avoid this, we currently
wti pulljust before pushing to check that there's nothing new, and we make sure to commit those changes if there is something new.
Does this action handle this kind of scenario robustly?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels