From:             [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:      4.0.5
PHP Bug Type:     Gettext related
Bug description:  Problems changing the language.

I run php as apache module (apache 1.3.19)
I put this code:

putenv("LANG=RO");
bindtextdomain ("domain", "./locale");
textdomain ("domain");

everything is ok.

Then I modify the value of the language ( and it's ok 'cause I display it with 
getenv("LANG"), but the translation doesn't change.

If I run php as cgi this works fine.

I have the same problem with php 4.0.4pl1


-- 
Edit Bug report at: http://bugs.php.net/?id=10603&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]

Reply via email to