Re: Re[2]: [PEAR-DEV] I18N (New Class: Locale)
| From: | Wolfram Kriesing | Date: | Mon, 11 Feb 2002 12:49:40 +0000 |
| Subject: | Re: Re[2]: [PEAR-DEV] I18N (New Class: Locale) | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-4607@lists.php.net to get a copy of this message | ||
On Monday 11 February 2002 13:38, Nicolas Hoizey wrote:
> Hi i18n people,
>
> > $messages = new I18N_Messages( 'de_DE' );
> > // translate a string from the source language into german.
> > // (source language is english by default,
> > // IF we decide to use it at all)
>
> $messages->>translate( 'Hi guys, i am happy to be here' );
>
> I can imagine how you take the proper text if already translated,
> but I can't understand how you would deal with your last example,
> unless some c translation software is used as an extension of PHP
> ...
>
> Could you explain ?
please see
http://marc.theaimsgroup.com/?l=pear-dev&m=101318537718373&w=2
the first mail concerning this topic, with an explaination of how the
current implementation does it, which can be found at:
http://wolfram.kriesing.de/programming/index.php#Language
> Also, how will you perform language negociation as Apache does ?
> It's the main goal of my (old) phpLang project, so don't hésitate
> to take anything usefull in it :
> http://www.phpheaven.net/projects/phpLang/
I will have a look
--
Wolfram
... translating template system ...
http://wolfram.kriesing.de/SimpleTemplate