PHP 4.0 Bug #9648 Updated: Gettext does not work (id #8969)

From: Date: Fri, 09 Mar 2001 11:27:03 +0000
Subject: PHP 4.0 Bug #9648 Updated: Gettext does not work (id #8969)
Groups: php.dev 
Request: Send a blank email to php-dev+get-48400@lists.php.net to get a copy of this message
ID: 9648 Updated by: sniper Reported By: stefan@devtrend.com Status: Open Bug Type: Documentation problem Assigned To: Comments: putenv("LANG=sv"); works for me just fine on Red Hat 6.2. --Jani Previous Comments: --------------------------------------------------------------------------- [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.. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9648&edit=2

« previous php.dev (#48400) next »