2024-02-14 21:38:23 +01:00
|
|
|
# Update Translations:
|
|
|
|
# (venv) $ pybabel extract -F babel.cfg -o messages.pot .
|
|
|
|
# (venv) $ pybabel update -i messages.pot -d snappass/translations
|
|
|
|
# (venv) $ pybabel compile -d snappass/translations
|
|
|
|
# Add a new language:
|
|
|
|
# (venv) $ pybabel extract -F babel.cfg -o messages.pot .
|
2024-02-16 10:40:13 +01:00
|
|
|
# (venv) $ pybabel init -i messages.pot -d snappass/translations -l <language_code>
|
2024-02-14 21:38:23 +01:00
|
|
|
[python: snappass/**.py]
|
|
|
|
[jinja2: snappass/templates/**.html]
|
|
|
|
|