note 58781 added to ref.gettext
| From: | JuanLiska at osu1 dot php dot net | Date: | Tue, 15 Nov 2005 23:09:30 +0000 |
| Subject: | note 58781 added to ref.gettext | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-98628@lists.php.net to get a copy of this message | ||
if you're having trouble with setlocale (if it's returning false) on ubuntu or debian:
nano /etc/locale.gen
make sure that the locales taht you want are in the list, if not, add them. for instance, i wanted
es_GT (b/c i have an app that must run on redhat and debian, i cant change to es_GT.UTF-8) so, add:
es_GT UTF-8
then run:
locale-gen
you now have the locales you want, not just the ones the system magically came with
----
Manual Page -- http://www.php.net/manual/en/ref.gettext.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+58781
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58781&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58781&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58781&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58781&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58781&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58781&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58781&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+58781&report=yes
Search -- http://master.php.net/manage/user-notes.php