Bug #9648 Updated: Gettext does not work (id #8969)
| From: | andy@php.net | Date: | Sat, 21 Jul 2001 20:05:09 +0000 |
| Subject: | Bug #9648 Updated: Gettext does not work (id #8969) | ||
| References: | 1 | Groups: | php.dev php.doc |
| Request: | Send a blank email to php-dev+get-60491@lists.php.net to get a copy of this message | ||
ID: 9648
Updated by: andy
Reported By: stefan@devtrend.com
Old Status: Open
Status: Bogus
Bug Type: Documentation problem
Operating System: Linux Slackware 7.1
PHP Version: 4.0 Latest CVS (09/03/2001)
New Comment:
works fine on Red Hat 7
Previous Comments:
------------------------------------------------------------------------
[2001-03-09 06:27:03] sniper@php.net
putenv("LANG=sv");
works for me just fine on Red Hat 6.2.
--Jani
------------------------------------------------------------------------
[2001-03-09 05:15:07] stefan@devtrend.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..
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=9648&edit=1