note 29799 added to ref.gettext
| From: | robert at klugher dot com | Date: | Tue, 25 Feb 2003 15:03:59 +0000 |
| Subject: | note 29799 added to ref.gettext | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-44504@lists.php.net to get a copy of this message | ||
Sorry, one more info :
the previous post is especially interesting when you have values set on the server for some of the
LC_... then, setlocale() output gives you all the LC_... with their value.
BUT do not forget that the priority order for gettext is:
LANGUAGE
LC_ALL
LC_MESSAGES
LANG
Then, if ever you script always translate to the same language, check the value of LANGUAGE ...
--
http://www.php.net/manual/en/ref.gettext.php
http://master.php.net/manage/user-notes.php?action=edit+29799
http://master.php.net/manage/user-notes.php?action=delete+29799
http://master.php.net/manage/user-notes.php?action=reject+29799