|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [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..
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 13:00:01 2025 UTC | 
putenv("LANG=sv"); works for me just fine on Red Hat 6.2. --Jani