find application library -type f \( -name "*.php" -o -name "*.phtml" \) -exec ��/usr/local/bin/xgettext -j -L PHP --from-code=utf-8 --keyword=traduire --keyword=_ -o library/translation/fr.pot {} \;
for i in `ls library/translation/*.po`
do
/usr/local/bin/msgmerge -s $i library/translation/fr.pot -o $i
/usr/local/bin/msgfmt -o `echo $i|cut -d '.' -f1`.mo $i
done
I need to write several scripts like this - would be cool to start with Coral.