News for hackers. Stuff that matters.
Re:Don't set the language of your website based on user loca... by swilliamsio on Monday May 18, 2020 @12:45AM (#23218455)
> The rationale (which I still don't agree with) was that many browsers would send "en-US" by default, and so it wasn't a reliable indication of the user's actual language.

Sounds like a potential workaround is to set your language to another flavour of English like "en-CA" or "en-GB".

Re:Don't set the language of your website based on user loca... by paranoidrobot on Monday May 18, 2020 @01:20AM (#23218651)
Unfortunately various sites, particularly Google's, gatekeep functionality behind the language/region setting.

Browser set to en-au? "Oh, I'm sorry, you can't use this feature yet because it's not in your region." for years after launch.

Re:Don't set the language of your website based on user loca... by cma on Monday May 18, 2020 @03:19AM (#23219321)
So they set your location from your language and your language from your location...
Re:Don't set the language of your website based on user loca... by fyfy18 on Monday May 18, 2020 @01:49AM (#23218816)
I have my language set to "en-GB" and still many websites (including Google, when not signed in) default to that of the country I'm in.
Re:Don't set the language of your website based on user loca... by xenomachina on Monday May 18, 2020 @01:07AM (#23218566)
Yes. I think most Google properties also support an hl query parameter that will work even if set to "en-US". Either way, not ideal.
Re:Don't set the language of your website based on user loca... by el-salvador on Monday May 18, 2020 @12:20PM (#23224441)
Another useful one is www.google.com/ncr which opens Google in English (NCR= No Country Redirect)