canaille-globuzma/canaille/translations
Hosted Weblate a15419b2d4
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/
2023-06-30 18:41:27 +02:00
..
de/LC_MESSAGES Update translation files 2023-06-30 18:41:27 +02:00
es/LC_MESSAGES Update translation files 2023-06-30 18:41:27 +02:00
fr/LC_MESSAGES Update translation files 2023-06-30 18:41:27 +02:00
gl/LC_MESSAGES Update translation files 2023-06-30 18:41:27 +02:00
nb_NO/LC_MESSAGES Update translation files 2023-06-30 18:41:27 +02:00
babel.cfg Automatically trims the HTML translated strings 2023-01-22 13:45:59 +01:00
messages.pot Updated translation catalogs 2023-06-30 18:41:09 +02:00
README.md Translation README 2023-03-12 10:45:42 +01:00

Translations are done with weblate. Those commands are there as documentation, only the message extraction is needed for contributors. All the other steps are automatically done with Weblate.

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