Re: Locale names, was:Using Translation from PEAR, other libraries
| From: | Christophe Chisogne | Date: | Fri, 10 Dec 2004 10:53:45 +0000 |
| Subject: | Re: Locale names, was:Using Translation from PEAR, other libraries | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-829@lists.php.net to get a copy of this message | ||
Tex Texin wrote:
The language_country name model is defined in RFC 3066, and is being updated. It went into the hopefully final Last Call process yesterday. The proposed version is: http://www.inter-locale.com/ID/draft-phillips-langtags-08.htmlGood to see real/authoritative informations. Thanks for this :) I only heard about - ISO 3166 (country names) - ISO 639 (names of languages)
Microsoft does have a different convention, but supports the POSIX names as well.I tested gettext with php4 on a win2k srv. Only MS names 'French, Dutch,..' worked, not POSIX names (fr_BE, nl_NL). But perhaps I missed something. (I finally created copies for gettext dirs like /french, /fr_BE etc).
There is work underway to standardize locale definitions. If interested look at CLDR, the common locale data repository, hosted by the Unicode Consdortium at http://www.unicode.org/cldr .Steps to standardization is good news, but not respected enough. Ex websites using 'extended' html markup, splitting the web. Christophe