RE: [PHP-I18N] Re: Gettext only returns english

From: Date: Wed, 04 Aug 2004 15:20:15 +0000
Subject: RE: [PHP-I18N] Re: Gettext only returns english
References: 1  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-744@lists.php.net to get a copy of this message
Hi, Throughout my googling for this, I came across several variables to set, and I've tried all combinations of these with both ll and ll_CC: putenv('LANG=$lang'); putenv('LANGUAGE=$lang'); putenv('LC_ALL=$lang'); I've also tried calling setlocale(LC_ALL,''), (I read that somewhere online). In fact, here is my test page. You can see I've experimented with a bit of stuff, and commented it out. Page: http://micropipes.com:8080/~clouser/index.php Source: http://micropipes.com:8080/~clouser/index.phps Phpinfo: http://micropipes.com:8080/phpinfo.php Sorry about the weird port number. Thanks for your thoughts, Wil Quoting Michael Wallner <mike@php.net>: > > Have you tried putEnv('LANG=ll'); ? > > Regards, > -- > Michael - < mike(@)php.net > >

« previous php.i18n (#744) next »