Re: software localization with PHP
| From: | Christian Reiniger | Date: | Wed, 14 Mar 2001 08:44:28 +0000 |
| Subject: | Re: software localization with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-43795@lists.php.net to get a copy of this message | ||
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