Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2. Preload your new catalog with all the messages in the en.json5 catalog by executing the sync-i18n-files.js script, for which you can find more detailed documentation lower on this page. Assuming you are in /resources/i18n, you can execute:

Code Block
../../scripts/sync-i18n-files.js -s en.json5 -i -t fr.json5

where en.json5 , where is the "source" language file where the original keys will be retrieved, and fr.json5 is the catalog of the new language for which you want to start a translation.

your empty file. The file should now be filled with all of the English messages, that are now present both as comments, as well as message, for you to translate.

...