Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 470 Bytes

File metadata and controls

22 lines (15 loc) · 470 Bytes

Frontend

Translations

We are using babel extension for flask to translate the app. New translations are added using pybabel CLI with

pybabel extract -F babel.cfg -o translations/messages.pot flaskr

The new translations have to be added to the existing ones

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

These translations have to be compiled to be used in the application

pybabel compile -d translations