|
@ -69,11 +69,10 @@ i18n: |
|
|
|
|
|
|
|
|
#compile templates in each language, required for production env.
|
|
|
#compile templates in each language, required for production env.
|
|
|
templates: |
|
|
templates: |
|
|
|
|
|
mkdir -p lang/master/tmp |
|
|
haxe cagette.hxml -D i18n_generation |
|
|
haxe cagette.hxml -D i18n_generation |
|
|
@make LANG=fr ctemplates |
|
|
@make LANG=fr ctemplates |
|
|
|
|
|
|
|
|
msgfmt www/lang/texts_fr.po -o www/lang/texts_fr.mo |
|
|
msgfmt www/lang/texts_fr.po -o www/lang/texts_fr.mo |
|
|
mkdir -p lang/master/tmp |
|
|
|
|
|
|
|
|
|
|
|
chown www-data:www-data -R www |
|
|
chown www-data:www-data -R www |
|
|
chown www-data:www-data -R lang |
|
|
chown www-data:www-data -R lang |
|
|