[whatwg] Proposal: Locale Preferences API

Mark Callow callow.mark at artspark.co.jp
Mon Dec 16 21:11:36 PST 2013


I sent this quite some time ago but have never seen it on the mailing
list so I am sending it again.

On 2013/10/31 14:41, Mark Callow wrote:
>
> 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.

Regards

    -Mark

-- 
注意:この電子メールには、株式会社エイチアイの機密情報が含まれている場合
が有ります。正式なメール受信者では無い場合はメール複製、 再配信または情
報の使用を固く禁じております。エラー、手違いでこのメールを受け取られまし
たら削除を行い配信者にご連絡をお願いいたし ます.

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