Versions Compared

Key

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

...

Code Block
yarn run sync-i18n -s en.json5 -i -t fr.json5

or

Code Block
json5OR
ts-node --project ../../../tsconfig.ts-node.json ../../../scripts/sync-i18n-files.ts -s en.json5 -i -t fr.json5

where en.json5 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. If you receive an the error that environment.ts can not be found, try running "yarn run config:dev" before you execute the sync-i18n-files script. 

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.

...