note 14149 added to ref.gettext.php
| From: | ducrot at poupinou dot org | Date: | Thu, 19 Jul 2001 00:05:30 +0000 |
| Subject: | note 14149 added to ref.gettext.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15554@lists.php.net to get a copy of this message | ||
<p>In my linux box whith glibc 2.2.3, the good way seems to call, in fact (e.g) <br>
setlocale (LC_ALL, "fr_FR");<br>
and not setlocale (LC_ALL, "");</p>
<p>Also, I don't have to put LANG in the environment via putenv.</p>
Don't forget also, if you are on glibc 2.2.x, to uncommnent some lines in /etc/locale.gen and
to
run /usr/sbin/locale-gen.
http://www.php.net/manual/en/ref.gettext.php