|
|
@ -70,10 +70,12 @@ i18n: |
|
|
|
#compile templates in each language, required for production env.
|
|
|
|
templates: |
|
|
|
haxe cagette.hxml -D i18n_generation |
|
|
|
mkdir -p lang/master/tmp |
|
|
|
@make LANG=fr ctemplates |
|
|
|
#@make LANG=en ctemplates |
|
|
|
#@make LANG=de ctemplates |
|
|
|
msgfmt www/lang/texts_fr.po -o www/lang/texts_fr.mo |
|
|
|
chown www-data:www-data -R www |
|
|
|
|
|
|
|
ctemplates: |
|
|
|
# (cd lang/$(LANG)/tpl; temploc2 -macros macros.mtt -output ../tmp/ *.mtt */*.mtt */*/*.mtt */*/*/*.mtt */*/*/*/*.mtt)
|
|
|
|