3 locales="eu bg ca zh_TW nl en eo fr de el he id it ja ko la nb pl pt_BR pt ru zh_CN es sv th"
5 # xgettext -j -d gforge -o translations/gforge.pot -L PHP --from-code=iso-8859-1 $(find -name \*.php -or -name \*.class | grep -v -e {arch} -e svn-base)
7 rm translations/gforge.pot
9 find -type f -\( -name \*.php -or -name users -or -name projects -\) \
10 | grep -v -e {arch} -e svn-base \
11 | grep -v ^./plugins/wiki \
13 | xargs xgettext -d gforge -o translations/gforge.pot -L PHP --from-code=iso-8859-1
15 for l in $(echo $locales | xargs -n 1 | sort) ; do
16 echo "Processing $l..."
17 msgmerge -U translations/$l.po translations/gforge.pot