/ea2024_230054582_

Primary LanguagePythonMIT LicenseMIT

How to create translation

Run following commands

cd app/
mkdir translations
pybabel extract -F babel.cfg -k lazy_gettext -o translations/messages.pot .
pybabel init -i translations/messages.pot -d translations -l en
pybabel init -i translations/messages.pot -d translations -l es
pybabel init -i translations/messages.pot -d translations -l zh
pybabel compile -d translations

How to update translation

cd app/
pybabel update -i translations/messages.pot -d translations