On Wednesday 14 March 2001 05:50, you wrote:

> I have a question about localizing PHP scripts.  I understand that for
> basic localization one can have a "strings" file for each language,
> which contains string variables and values such as:
>     <?php
>         $title = "Welcome!";
>         $error = "An error occurred.";
>     ?>

Have a look at the gettext extension for a (IMO more elegant) alternative.

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

Pretty cool, the kind of power information technology puts in our hands
these days.

- Securityfocus on probing 36000000 hosts for known problems in 3 weeks

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to