i18n generator script for CakePHP 

Are you tired of running cake i18n extract and clicking over the Poedit?


#!/bin/sh
rm -rf Locale/*.pot

langs=( hun )
./Console/cake i18n extract --output ./Locale --paths ./ --merge no
for lang in "${langs[@]}"
do
:
msgmerge -U Locale/$lang/LC_MESSAGES/default.po Locale/default.pot
done


Place and run this script in your app directory of your cakephp project, and you will only need to do your translatioon with Poedit/whatever.
Enjoy.
[ hozzászólás ] ( 1 megtekintés ) [ 0 trackbackek ] permalink ( 3.1 / 196 )

<< <Előző | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | Következő> >>

 
számláló