/ update-translations-en.sh
update-translations-en.sh
1  #!/bin/bash
2  
3  set -Eeuxo pipefail
4  
5  # Some of these change their output when run multiple times..
6  pybabel extract --omit-header -F babel.cfg -o messages.pot .
7  pybabel update -l en --no-wrap --omit-header -i messages.pot -d allthethings/translations --no-fuzzy-matching
8  pybabel compile -l en -f -d allthethings/translations