W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2013

Re: [whatwg] Proposal: Locale Preferences API

From: Mark Callow <callow.mark@artspark.co.jp>
Date: Thu, 31 Oct 2013 14:41:18 +0900
Message-ID: <5271ED7E.8060105@artspark.co.jp>
To: whatwg@lists.whatwg.org
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.
Received on Thursday, 31 October 2013 05:41:51 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:12 UTC