Closed
Description
3. And here are the steps to add new translations:
3.1. Create base.pot file:pybabel extract --mapping-file=app/babel_mapping.ini app tests -o app/locales/base.pot
3.2. cd app
3.3.1. Create he base.po file:pybabel init -l he -i locales/base.pot -d locales -D base
3.3.2. Create en base.po file:pybabel init -l en -i locales/base.pot -d locales -D base
3.4. Translate strings
3.5. Create .mo files:pybabel compile -d locales -D base
3.6. Update translations.
3.7. Update .mo files:pybabel update -i locales/base.pot -d locales
Awesome work! Can you please add this to the workflow? We can do it automagically using GitHub Actions.
It can be considered as another ticket :)
Originally posted by @yammesicka in #115 (comment)
Metadata
Metadata
Assignees
Labels
No labels