pilpil-server/locales/gen_mo.sh

6 lines
117 B
Bash
Executable File

#!/usr/bin/env bash
#
for locale in */LC_MESSAGES/template.pot; do
/usr/bin/msgfmt -o ${locale%.*}.mo $locale
done