note 10132 added to setlocale
| From: | Fabian dot Rodriguez at toxik dot com | Date: | Fri, 15 Dec 2000 00:19:44 +0000 |
| Subject: | note 10132 added to setlocale | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8744@lists.php.net to get a copy of this message | ||
Language information is defined by this RFC:
RFC1766 - Tags for the Identification of Languages - http://www.ietf.org/rfc/rfc1766.txt
And the 2 letter codes come from:
ISO639: "Code for the representation of names of languages" - http://www.w3.org/WAI/ER/IG/ert/iso639.htm
ISO3166-1: "English country names and code elements" - http://www.din.de/gremien/nas/nabd/iso3166ma/codlstp1/index.html
Also note that the language name can be used in full (ex:
setlocale('LC_TIME','swedish'); ) . This full name comes from the latest
mentioned file.
http://www.php.net/manual/function.setlocale.php