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

> 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 controls. Expected behaiour that regional
> settings would be inherited from OS settings.

My claim is that if you want English language with Russian regional settings then browsers must report “en-ru” in navigator.language.

My reasoning is that many website authors use navigator.language to infer locale. So, if navigator.language reports “en-us”, you will get US regional settings on many websites.

Geoff

Received on Wednesday, 25 May 2016 02:50:45 UTC