php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10603 Problems changing the language.
Submitted: 2001-05-02 05:05 UTC Modified: 2002-02-23 00:00 UTC
From: bogdan at itconsulting dot ro Assigned:
Status: No Feedback Package: Gettext related
PHP Version: 4.0.5 OS: Windows 2000
Private report: No CVE-ID: None
 [2001-05-02 05:05 UTC] bogdan at itconsulting dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-14 15:48 UTC] lobbin@php.net
Is this valid on 4.1.1?
 [2002-02-23 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 08:01:29 2024 UTC