Bug #10603: Problems changing the language.

From: Date: Wed, 02 May 2001 09:05:07 +0000
Subject: Bug #10603: Problems changing the language.
Groups: php.dev 
Request: Send a blank email to php-dev+get-53299@lists.php.net to get a copy of this message
From: bogdan@itconsulting.ro 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

« previous php.dev (#53299) next »