Bug #10058 Updated: Gettext doesn't react when I change the language

From: Date: Mon, 28 Jan 2002 15:39:45 +0000
Subject: Bug #10058 Updated: Gettext doesn't react when I change the language
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-78307@lists.php.net to get a copy of this message
ID: 10058
Updated by: sander
Old Summary: Gettext doesn't react when I change the language
Reported By: bogdan@itconsulting.ro
Old Status: Feedback
Status: No Feedback
Bug Type: Gettext related
Operating System: Windows 2000
PHP Version: 4.0.4pl1
New Comment:

No feedback.


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

[2002-01-07 10:38:21] lobbin@php.net

Are you sure this is nothing but a pagecache problem?

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

[2001-03-29 10:58:34] bogdan@itconsulting.ro

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.

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

[2001-03-29 10:45:39] bogdan@itconsulting.ro

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] bogdan@itconsulting.ro

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.

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



Edit this bug report at http://bugs.php.net/?id=10058&edit=1



Thread (1 message)

  • sander@php.net
  • Unknown Message
    • sander@php.net
« previous php.dev (#78307) next »