[whatwg] Proposal: Locale Preferences API

Mark Callow callow.mark at artspark.co.jp
Wed Oct 30 22:41:18 PDT 2013

On 2013/10/15 6:24, Marcos Caceres wrote:
> On Friday, July 26, 2013 at 8:14 PM, Marcos Caceres wrote:
>> This document proposes an extension to HTML's `Navigator` interface to enable
>> dynamic localization of content. The idea is to expose to script the language
>> tags that represents the user's locale preferences (akin to the language tags
>> that are normally sent with HTTP's `Accept-Languages` header).
My question is "will anyone use it?" In my experience most web sites
ignore the Accept-Languages header. I am continually being served pages
in Japanese even though English is the top language in my accept list.
There are only two reasons I can think of for this happening:

  * sites are choosing the language based on the location of my IP address.
  * sites are choosing the language based on my OS locale setting.
    though I'm pretty sure I've been served Japanese pages on systems
    where it is not set to JA plus I don't know if that is visible to
    either server or application.

Locale != language  so if they are doing the latter it is just wrong.



が有ります。正式なメール受信者では無い場合はメール複製、 再配信または情
たら削除を行い配信者にご連絡をお願いいたし ます.

NOTE: This electronic mail message may contain confidential and
privileged information from HI Corporation. If you are not the intended
recipient, any disclosure, photocopying, distribution or use of the
contents of the received information is prohibited. If you have received
this e-mail in error, please notify the sender immediately and
permanently delete this message and all related copies.

More information about the whatwg mailing list