Re: [whatwg] Should navigator.language and and/or HTTP Accept-Language include locale?

2016-06-01 Thread Domenic Denicola
From: whatwg [mailto:whatwg-boun...@lists.whatwg.org] On Behalf Of Geoffrey Garen > Should navigator.language and/or HTTP Accept-Language include my locale in > addition to my language — even if the combination is exotic? It seems like there was a good discussion on this thread but not much in

Re: [whatwg] Should navigator.language and and/or HTTP Accept-Language include locale?

2016-05-25 Thread Chaals McCathie Nevile
On Wed, 25 May 2016 23:56:09 +0100, Nils Dagsson Moskopp wrote: Anne van Kesteren writes: On Wed, May 25, 2016 at 7:32 AM, Михаил Гаврилов wrote: I propose to standardize locale settings (datetime, number

Re: [whatwg] Should navigator.language and and/or HTTP Accept-Language include locale?

2016-05-25 Thread Nils Dagsson Moskopp
Anne van Kesteren writes: > On Wed, May 25, 2016 at 7:32 AM, Михаил Гаврилов > wrote: >> I propose to standardize locale settings (datetime, number >> delimeters) can be specified only by user via the operating system >> settings. Sites should

Re: [whatwg] Should navigator.language and and/or HTTP Accept-Language include locale?

2016-05-24 Thread Михаил Гаврилов
I propose to standardize locale settings (datetime, number delimeters) can be specified only by user via the operating system settings. Sites should not change the locale that the user has chosen for himself. -- Best Regards, Mike Gavrilov. 2016-05-25 10:15 GMT+05:00 Anne van Kesteren

Re: [whatwg] Should navigator.language and and/or HTTP Accept-Language include locale?

2016-05-24 Thread Anne van Kesteren
On Wed, May 25, 2016 at 4:50 AM, Geoffrey Garen wrote: > My claim is that if you want English language with Russian regional settings > then browsers must report “en-ru” in navigator.language. That doesn't work. What if you want British English and the Russian locale? Or

Re: [whatwg] Should navigator.language and and/or HTTP Accept-Language include locale?

2016-05-24 Thread Geoffrey Garen
> I'm afraid that bind regional setting to interface language is not > correct. For example, I prefer the English language interface (it's > easier to write bug reports, search in Google documentation), but I > need the russian regional settings (number format, date format and > time format) for

Re: [whatwg] Should navigator.language and and/or HTTP Accept-Language include locale?

2016-05-24 Thread Geoffrey Garen
>> This question came up in WebKit because ECMA-402’s DefaultLocale() >> incorporates both language and locale and, to avoid confusion, we >> wanted navigator.language, HTTP Accept-Language, and ECMA-402 >> DefaultLocale() to agree with each other. > > It confuses me why you would want to have

Re: [whatwg] Should navigator.language and and/or HTTP Accept-Language include locale?

2016-05-24 Thread Михаил Гаврилов
I'm afraid that bind regional setting to interface language is not correct. For example, I prefer the English language interface (it's easier to write bug reports, search in Google documentation), but I need the russian regional settings (number format, date format and time format) for input

Re: [whatwg] Should navigator.language and and/or HTTP Accept-Language include locale?

2016-05-24 Thread Anne van Kesteren
On Tue, May 24, 2016 at 1:55 AM, Nils Dagsson Moskopp wrote: > • navigator.language is the language of the interface > • HTTP Accept-Language is the language of content > • ECMA-402 DefaultLocale() is the user's locale The HTML Standard has a should-level

Re: [whatwg] Should navigator.language and and/or HTTP Accept-Language include locale?

2016-05-24 Thread Anne van Kesteren
On Mon, May 23, 2016 at 11:58 PM, Geoffrey Garen wrote: > For example, if I speak English but I like Polish number formatting, should > navigator.language report “en-pl”? I don't think so. That would only make sense if English was a language spoken in Poland that differs from

Re: [whatwg] Should navigator.language and and/or HTTP Accept-Language include locale?

2016-05-23 Thread Nils Dagsson Moskopp
Geoffrey Garen writes: > Hi folks. > > Should navigator.language and/or HTTP Accept-Language include my > locale in addition to my language — even if the combination is exotic? > > For example, if I speak English but I like Polish number formatting, > should navigator.language