Re: Flexy and localization
| From: | Stan Lemon | Date: | Mon, 08 Sep 2003 13:02:02 +0000 |
| Subject: | Re: Flexy and localization | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-7637@lists.php.net to get a copy of this message | ||
Yeah, you could compile the template in flexy specifically by the dir, similar to the example I posted but instead of it being before the extension to do it like that.
This is easiest way I know how.
- Stan
Limbourg Arnaud wrote:
Localization is a problem with templates in general. One way to go is to have a directory layout as follows templates/ en/ fr/ de/ All the templates are named the same so you just have to add the desired language. I've no idea if that works with flexy though. Arnaud.I'm building a site using Flexy templates and I want to have different languages available for users. I have been thinking a lot on how to implement this and I'm still not sure of the best way of doing this. Are there anybody that have experience with Flexy and localization? How have you solved it? I have searched this newsgroup and read some posts about the gettext function, but it was to abstract for me. So....if somebody could please explaine me how gettext works in Flexy...