snappass/babel.cfg
2024-02-14 21:38:23 +01:00

10 lines
428 B
INI

# 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 .
# (venv) $ pybabel init -i messages.pot -d snapppass/translations -l <language_code>
[python: snappass/**.py]
[jinja2: snappass/templates/**.html]