You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
joinplu.me/i18n.sh

11 lines
306 B
Bash

#! /bin/bash
rxgettext source/localizable/* source/layouts/* -o po/joinplume.pot
for lang in `cat po/LINGUAS`; do
if [ -f "po/$lang.po" ]; then
msgmerge -U "po/$lang.po" "po/joinplume.pot"
else
msginit --input "po/joinplume.pot" --output-file "po/$lang.po" -l $lang --no-translator
fi
done;