Reputation: 1193
I'm working on ReactJS project which is using locize as internationalization service and i18next library. I encounter the problem about add/update translation on locize. Here is the problem:
Currently, we add/update translation by 2 ways:
Using locize editor to directly update translation on locize (usually done by operation team)
We have translation file in source code repo, we use it for local environment then when release the feature, we will import this file to locize (usually done by dev team).
The issue is that when operation team updates some text directly on locize (in this time the translation file in the source code is still on the old version). Then when release a new feature dev team try to import translation file from source code (which update other text) to locize, the changes that operation team has made got overrided (make it revert back to the old version). Does anyone have experience about how to resolve it?
I appreciate any helps. Thanks in advance
Upvotes: 0
Views: 461
Reputation: 3188
normally there are 2 approaches:
dev-team is working on the latest version and operation team on a review version. And from time to time the versions get merged: https://docs.locize.com/more/versioning#merging-versions
dev-team uses the locize-cli with the sync argument “ --compare-modification-time true”
Upvotes: 2