PHP 4.0 Bug #9648: Gettext does not work (id #8969)
| From: | stefan at devtrend dot com | Date: | Fri, 09 Mar 2001 10:15:07 +0000 |
| Subject: | PHP 4.0 Bug #9648: Gettext does not work (id #8969) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-48389@lists.php.net to get a copy of this message | ||
From: stefan@devtrend.com
Operating system: Linux Slackware 7.1
PHP version: 4.0 Latest CVS (09/03/2001)
PHP Bug Type: Documentation problem
Bug description: Gettext does not work (id #8969)
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 Bug report at: http://bugs.php.net/?id=9648&edit=1