mirror of
https://github.com/mempool/mempool.git
synced 2025-03-17 21:32:02 +01:00
Created How to work with i18n (markdown)
parent
86554027b1
commit
b61b3c1338
12
How-to-work-with-i18n.md
Normal file
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)
|
Loading…
x
Reference in New Issue
Block a user