note 93209 added to function.gettext
| From: | martinalexattlonstruct dot com at osu1 dot php dot net | Date: | Fri, 28 Aug 2009 13:25:22 +0000 |
| Subject: | note 93209 added to function.gettext | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-159987@lists.php.net to get a copy of this message | ||
On Windows (XP Pro SP3) it was not sufficient to set
the locale
setlocale(LC_ALL, "de");
Prior to that I had to set the variable for the environment
putenv("LC_ALL=de"); // german
setlocale(LC_ALL, "de");
Without putenv no translation was found!
----
Server IP: 209.41.74.194
Probable Submitter: 136.8.150.5 (proxied: 19.217.216.32)
----
Manual Page -- http://www.php.net/manual/en/function.gettext.php
Edit -- https://master.php.net/note/edit/93209
Del: integrated -- https://master.php.net/note/delete/93209/integrated
Del: useless -- https://master.php.net/note/delete/93209/useless
Del: bad code -- https://master.php.net/note/delete/93209/bad+code
Del: spam -- https://master.php.net/note/delete/93209/spam
Del: non-english -- https://master.php.net/note/delete/93209/non-english
Del: in docs -- https://master.php.net/note/delete/93209/in+docs
Del: other reasons-- https://master.php.net/note/delete/93209
Reject -- https://master.php.net/note/reject/93209
Search -- https://master.php.net/manage/user-notes.php