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

2016-05-23 Thread Geoffrey Garen
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 report “en-pl”? This question came up in WebKit becau

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 report “en-pl”? > >

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

2016-05-23 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 other English langu

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

2016-05-23 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 requirement for the first two to align, t

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

2016-05-23 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 contro