ID: 10058
Updated by: sander
Old Summary: Gettext doesn't react when I change the language
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
Are you sure this is nothing but a pagecache problem?
------------------------------------------------------------------------
[2001-03-29 10:58:34] [EMAIL PROTECTED]
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] [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.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=10058&edit=1
--
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]