|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #9648 Gettext does not work (id #8969)
Submitted: 2001-03-09 05:15 UTC Modified: 2001-07-21 16:05 UTC
From: stefan at devtrend dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 4.0 Latest CVS (09/03/2001) OS: Linux Slackware 7.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: stefan at devtrend dot com
New email:
PHP Version: OS:


 [2001-03-09 05:15 UTC] stefan at devtrend dot com
Regarding gettext won't translate strings (id #8969), I found that if you use:

putenv ("LC_ALL=sv");  // or any other language

instead of:

putenv ("LANG=sv");

it works perfekt.

I can't see it documented anywhere and I'm sure there are more than me who have stumbled into this problem..


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-09 06:27 UTC]

works for me just fine on Red Hat 6.2.


 [2001-07-21 16:05 UTC]
works fine on Red Hat 7
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Oct 26 19:03:37 2021 UTC