News for hackers. Stuff that matters.
Re:It’s probably never going to work in German by mattnewton on Tuesday February 26, 2019 @12:02PM (#19256077)
Is it really the worst possible option? It’s often a pretty good guess, and accept-language is similarly unreliably set and can be fiddled with by intermediaries. Navigator.language doesn’t help you until you’ve already served and run JavaScript.

The right solution I think is to make a reasonable guess and then allow the user to control it. None of these guesses are going to work for everybody on their own.

Re:It’s probably never going to work in German by zdragnar on Tuesday February 26, 2019 @12:20PM (#19256284)
I'm unaware of any intermediaries that fiddle with accept-language, so I can't really speak to how reliable it is. I can say that due to the ISP I use geolocation typically gets my location wrong by somewhere between 650 - 1600 km (400 and 1000 miles).