Re: Multiple Languages
| From: | Moriyoshi Koizumi | Date: | Sun, 24 Nov 2002 18:47:40 +0000 |
| Subject: | Re: Multiple Languages | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-359@lists.php.net to get a copy of this message | ||
Take a look at http://www.php.net/manual/en/ref.gettext.php
This appears exactly what you are looking for, while your idea is as good.
Moriyoshi
"Steve Vernon" <steve@extremewattage.co.uk> wrote:
> Hiya,
> I'm working on my first international PHP project, which is a site that
> displays differently in different languages. So I guess this is the place to
> ask adive.
>
> Ive done the code with flags etc so people can select the country and so
> the language. But im not sure about the best way to handle the text and
> things such as meta tages.
>
> My origional idea was to have multiple include files named like uk.php,
> french.php with seperate variables for the text parts, or do sommat in XML
> which is basically the same.
>
> I cant find any sources on the net about best ways to do a site like
> this.
>
> Help!
>
> Thanks,
>
> Steve
>
>
> --
> PHP Internationalization Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>