Re: flexy and Localisation
| From: | Alan Knowles | 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:http://devel.akbkhome.com/livedocs/livedoc.php?q=package.html.html-template- flexy.configurationI'm using flexy (and I am very happy with it !) and I need to display messages according to the user's language.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 /.cnetc..Regards AlanthereAlan, did you plan some localisation features (I guess you did sincemessages inis the "locale" option). For the moment I prepare the translatedtomy controllers, and display them by {theTranslatedMessage:h} in the template. I just don't know if I use the best method (I think it leadsheavy 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