You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.
How does the plugin behave if there is already an translation file? Will it merge the existing json entries with new ones and not override already translated texts?
The text was updated successfully, but these errors were encountered:
It would overwrite them, the idea is that you wouldn't checkin JSON files to source control, but instead treat them like built files and clear them out before running Babel on your source code.
You'd likely want to aggregate and process the JSON files into say an en.json, that you checkin. Then have your translation system work on those default strings, and then commit their results back to your project. If you don't aggregate them, old strings will still be included.
But to answer your direct question: the plugin uses overrides a file if it exists.
How does the plugin behave if there is already an translation file? Will it merge the existing json entries with new ones and not override already translated texts?
The text was updated successfully, but these errors were encountered: