[whatwg] Proposal: Locale Preferences API

Jukka K. Korpela jkorpela at cs.tut.fi
Wed Nov 27 15:12:01 PST 2013


2013-11-28 0:20, Boris Zbarsky wrote:

> On 11/27/13 4:28 PM, Jungshik Shin (신정식, 申政湜) wrote:
>> That is, I suggest that 'navigator.language' always be the UI language
>> of a
>> web browser.
>
> That's an unacceptable privacy leak from Mozilla's point of view.  See
> https://bugzilla.mozilla.org/show_bug.cgi?id=55366 where we explicitly
> switched from that to basing navigator.language on the Accept header.

More importantly, I would say, the browser’s UI language should normally 
be completely irrelevant to page design and implementation.

I might be using an English-language browser because there is no better 
option (localizations are lousy). This does not mean that when viewing a 
page in, say, German, I would want the page to talk to me in English, to 
use English-language month names in date controls and info, etc.

Yucca





More information about the whatwg mailing list