furnace/scripts/build-po.sh
tildearrow 80bf0867f9 add Indonesian language
thanks Zumi
2024-06-14 03:10:19 -05:00

7 lines
275 B
Bash
Executable file

#!/bin/sh
EXPORT_LANGS=("de" "es" "fr" "fi" "hy" "id" "ko" "nl" "pl" "pt_BR" "ru" "sk" "sv" "th" "tr" "uk")
for i in ${EXPORT_LANGS[@]}; do
echo "compiling $i.po..."
mkdir -p "po/locale/$i/LC_MESSAGES/" && msgfmt "po/$i.po" -o "po/locale/$i/LC_MESSAGES/furnace.mo"
done