Re: flexy and Localisation

From: Date: Fri, 22 Aug 2003 11:49:25 +0000
Subject: Re: flexy and Localisation
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7356@lists.php.net to get a copy of this message
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"). 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 (#7356) next »