Skip to content

Add translations to workflow using GitHub actions #149

Closed
@Gonzom

Description

@Gonzom

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions