Re: flexy and Localisation

From: Date: Sat, 23 Aug 2003 03:58:52 +0000
Subject: Re: flexy and Localisation
References: 1 2 3  Groups: php.pear.general php.pear.general 
Request: Send a blank email to pear-general+get-7363@lists.php.net to get a copy of this message
Didier Galland wrote:
Ok thanks ! I hadn't read your doc for a while... Another question : is if="variable or method()" still possible in latest cvs version ? Or is flexy:if="variable or method()" the only form allowed from now. (idem for foreach="array,k,v").
all flexy attributes will need flexy: prefixed.. - I thought since there are so many other BC issues with CVS, that doing this properly now would be the best thing to do.. Regrds Alan
Regards, Didier "Alan Knowles" <alan@akbkhome.com> a écrit dans le message de news: 3F45EC0D.1060809@akbkhome.com...
Didier Galland wrote:
I'm using flexy (and I am very happy with it !) and I need to display messages according to the user's language.
http://devel.akbkhome.com/livedocs/livedoc.php?q=package.html.html-template- flexy.configuration
have a look at the locale option documentaion. gettext is integrated, so as long as you prepare all the translations for the gettext strings.. - it should create templates ok for .es /.cn
etc..
Regards Alan
Alan, did you plan some localisation features (I guess you did since
there
is the "locale" option). For the moment I prepare the translated
messages in
my controllers, and display them by {theTranslatedMessage:h} in the template. I just don't know if I use the best method (I think it leads
to
heavy extra job for the controller), and would like to know if you've already taken some decisions for the future localisation process : integration with I18N especially. Regards, Didier


« previous php.pear.general (#7363) next »