forked from Github-Mirrors/canaille
![]() Currently translated at 100.0% (314 of 314 strings) Translation: Canaille/Canaille Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/fr/ |
||
---|---|---|
.. | ||
de/LC_MESSAGES | ||
es/LC_MESSAGES | ||
fr/LC_MESSAGES | ||
gl/LC_MESSAGES | ||
nb_NO/LC_MESSAGES | ||
babel.cfg | ||
messages.pot | ||
README.md |
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