Re: internationalisation?
| From: | Justin French | Date: | Wed, 28 Apr 2004 02:06:11 +0000 |
| Subject: | Re: internationalisation? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-184822@lists.php.net to get a copy of this message | ||
On 28/04/2004, at 11:55 AM, Curt Zirzow wrote:
You're looking for gettext http://php.net/gettext You can do things like echo _('Translated text'); And if you've set up a translation file that matches the 'Translated text' string then the other language will get displayed, otherwise just the english version gets printed.Ah, that'd be great, if it was part of the base install of PHP, rather than an extension. --- Justin French http://indent.com.au