- From: Martin Duerst <duerst@w3.org>
- Date: Fri, 11 Jun 2004 18:27:22 +0900
- To: public-i18n-ws@w3.org
I have found the following issue with regards to using HTTP Accept-Language: for determining the locale of a user: The way HTTP matches language ranges and language tags is described in Section 14.4 of RFC 2616 (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4): Accept-Language: en matches Content-Language: en-us but Accept-Language: en-us does no match Content-Language: en This means that browsers should send general things such as 'en' rather than the more specific labels such as 'en-us', or both. But for using this to determine a locale, the more specific, the better. Regards, Martin.
Received on Friday, 11 June 2004 05:27:42 UTC