Created How to work with i18n (markdown)

softsimon 2021-06-11 10:00:14 -05:00
parent 86554027b1
commit b61b3c1338

12
How-to-work-with-i18n.md Normal file

@ -0,0 +1,12 @@
We use Transifex as i18n tool.
## Install
pip install transifex-client
## Development procedure
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)