|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
30 - 12 = ?
Subscribe to this entry?

 [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: Thu Jul 29 09:01:23 2021 UTC