Hi,

Is it possible today to write this using Coral ?

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.


Laurent Laffont - @lolgzs <http://twitter.com/#!/lolgzs>

Pharo Smalltalk Screencasts: http://www.pharocasts.com/
Blog: http://magaloma.blogspot.com/
Developer group: http://cara74.seasidehosting.st

Reply via email to