Bug #10603 Updated: Problems changing the language.
| From: | lobbin@php.net | Date: | Mon, 14 Jan 2002 20:48:38 +0000 |
| Subject: | Bug #10603 Updated: Problems changing the language. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-77064@lists.php.net to get a copy of this message | ||
ID: 10603
Updated by: lobbin
Reported By: bogdan@itconsulting.ro
Old Status: Open
Status: Feedback
Bug Type: Gettext related
Operating System: Windows 2000
PHP Version: 4.0.5
New Comment:
Is this valid on 4.1.1?
Previous Comments:
------------------------------------------------------------------------
[2001-05-02 05:05:06] bogdan@itconsulting.ro
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 this bug report at http://bugs.php.net/?id=10603&edit=1