2 xgettext --language=Python --copyright-holder='David Braam' --keyword=_ --output=Cura/resources/locale/Cura.pot --from-code=UTF-8 `find Cura -name "*.py"`
4 for LANG in `ls Cura/resources/locale`; do
5 if [ -e Cura/resources/locale/$LANG/LC_MESSAGES/Cura.po ]; then
6 msgmerge -U Cura/resources/locale/$LANG/LC_MESSAGES/Cura.po Cura/resources/locale/Cura.pot
7 msgfmt Cura/resources/locale/$LANG/LC_MESSAGES/Cura.po --output-file Cura/resources/locale/$LANG/LC_MESSAGES/Cura.mo