canaille-globuzma/canaille/translations
2023-01-22 13:45:59 +01:00
..
es/LC_MESSAGES Automatically trims the HTML translated strings 2023-01-22 13:45:59 +01:00
fr/LC_MESSAGES Automatically trims the HTML translated strings 2023-01-22 13:45:59 +01:00
babel.cfg Automatically trims the HTML translated strings 2023-01-22 13:45:59 +01:00
messages.pot Automatically trims the HTML translated strings 2023-01-22 13:45:59 +01:00
README.md Button wording 2020-12-31 12:47:36 +01:00

Extract the messages with:

pybabel extract --mapping-file canaille/translations/babel.cfg --output-file canaille/translations/messages.pot canaille

Add a new language with:

pybabel init --input-file canaille/translations/messages.pot --output-dir canaille/translations --locale <LANG>

Update the catalogs with:

pybabel update --input-file canaille/translations/messages.pot --output-dir canaille/translations

Compile the catalogs with:

pybabel compile --directory canaille/translations