note 35256 added to function.setlocale
| From: | sandro dot bilbeisi at tiscalinet dot it | Date: | Mon, 25 Aug 2003 19:04:16 +0000 |
| Subject: | note 35256 added to function.setlocale | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-55056@lists.php.net to get a copy of this message | ||
setlocale() doesn't work for italian on many systems (especially BSD-based OSes).
If you have no access to BSD's 'usr/share/locale/' , which is true of many providers
(even in Italy), then you have NO WAY to set the locale to italian.
Explicitly, setting locale to any of: 'it_IT', 'ita', 'italian' will
have no effect.
Remedy: you have to make your own custom functions to surrogate strftime(), localeconv() etc.
You also have to code your own date/currency/number formatting conversion routines.
'in bocca al lupo',
Sandro Bilbeisi
----
Manual Page -- http://www.php.net/manual/en/function.setlocale.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35256
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35256&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35256&report=yes