RE: [PEAR] Flexy and localization
| From: | LIMBOURG Arnaud | Date: | Mon, 08 Sep 2003 12:57:21 +0000 |
| Subject: | RE: [PEAR] Flexy and localization | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-7636@lists.php.net to get a copy of this message | ||
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...