diff options
Diffstat (limited to 'build/i18n-init.sh')
-rwxr-xr-x | build/i18n-init.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/build/i18n-init.sh b/build/i18n-init.sh new file mode 100755 index 000000000..72199bb38 --- /dev/null +++ b/build/i18n-init.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +for lang in $(cd po; echo ?? ??_??); do + for file in $(cd po/templates; echo *.pot); do + if [ ! -f "po/$lang/${file%.pot}.po" ]; then + msginit --no-translator -l "$lang" -i "po/templates/$file" -o "po/$lang/${file%.pot}.po" + svn add "po/$lang/${file%.pot}.po" + fi + done +done |