ID: 10058
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Gettext related
Description: Gettext doesn't react when I change the language

Nope.
If I use only setlocale("LC_ALL","ro") - I tried other thing too like "LC_MESSAGES" or 
"ro_RO", changed the names of diretories - it doesn't work anymore, and if I use it 
together with putenv I go back to the old problem.

Previous Comments:
---------------------------------------------------------------------------

[2001-03-29 10:45:39] [EMAIL PROTECTED]
I set the language with this:

putenv ("LC_ALL=ro");

and the translation is ok.
if I change it to:

putenv ("LC_ALL=de");

and reload the page nothing happens.
But if I restart the Apache, and reload again the page evething is ok.
Oh, and is not a cache problem, because I'm sending expiry, and no cache headers.

with putenv ("LANG=ro"); I get the same result.


---------------------------------------------------------------------------

[2001-03-29 10:43:40] [EMAIL PROTECTED]
I set the language with this:

putenv ("LC_ALL=ro");

and the translation is ok.
if I change it to:

putenv ("LC_ALL=de");

and reload the page nothing happens.
But if I restart the Apache, and reload again the page evething is ok.
Oh, and is not a cache problem, because I'm sending expiry, and no chache headers.

with putenv ("LANG=ro"); I get the same result.

---------------------------------------------------------------------------


Full Bug description available at: http://bugs.php.net/?id=10058


-- 
PHP Development 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