Re: flexy and Localisation
| From: | Alan Knowles | Date: | Fri, 22 Aug 2003 10:10:21 +0000 |
| Subject: | Re: flexy and Localisation | ||
| References: | 1 | Groups: | php.pear.general php.pear.general |
| Request: | Send a blank email to pear-general+get-7350@lists.php.net to get a copy of this message | ||
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