Clone
2
How to work with i18n
Miguel Medeiros edited this page 2021-06-11 12:57:30 -03:00

We use Transifex as i18n tool. https://www.transifex.com

Install

Install transifex client on your local machine.

pip install transifex-client

Development procedure

Steps to publish new transaltions strings:

  1. Add some new i18n strings to the frontend;
  2. Run npm run i18n-extract-from-source and commit the src/local/messages.xlf;
  3. Transifex will automatically see your push and update its database;
  4. Ask translators translate the new strings;
  5. Then after translations are done, run npm run i18n-pull-from-transifex and commit those files after testing (need a transifex API key, one click to get).