Using PyBabel To get all strings for translation: pybabel extract -F babel.cfg -o ./messages.pot . To run the po file (first time): pybabel init -i ./messages.pot -d ./translations -l en There is a po file for the update: pybabel update -i ./messages.pot -d ./translations To compile a po file for mo: pybabel compile -f -d ./translations