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"
-for l in $locales ; do
+for l in $(echo $locales | xargs -n 1 | sort) ; do
printf "* %5s: " $l
msgfmt --statistics -o /dev/null translations/$l.po
done
| LANG=C sort \
| xargs xgettext -d gforge -o translations/gforge.pot -L PHP --from-code=iso-8859-1
-for l in $locales ; do
+for l in $(echo $locales | xargs -n 1 | sort) ; do
echo "Processing $l..."
msgmerge -U translations/$l.po translations/gforge.pot
done