RE: [PEAR-DEV] I18N (New Class: Locale)
| From: | Naoki Shima | Date: | Mon, 11 Feb 2002 12:36:52 +0000 |
| Subject: | RE: [PEAR-DEV] I18N (New Class: Locale) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-4606@lists.php.net to get a copy of this message | ||
>Just a small comment, there was a bug report recently saying that the
>format "en_US" is not RFC-compliant (I haven't checked, but I assume it
>is correct), but "en-US" is. "en_US" is the form used by Unix locale
>implementations. You may want to keep this discintion in mind.
> - Stig
Browsers send its locale setting as "en-us". My Locale_Negotiator class
handles locale information this way.
+1 for RFC-compliant way