Re:Show HN: A New, Clean Geolocation API
by ksenzee on Friday December 08, 2017 @03:34PM
(#15881801)
You should ask them in whatever language their Accept-Language HTTP header specifies. If there isn't one, then ok, maybe look at their IP. But it makes no sense to treat the IP as a more valuable source of information than the HTTP header that's there for exactly this purpose.
[ Parent
| on HN ]
Re:Show HN: A New, Clean Geolocation API
by qwerty456127 on Friday December 08, 2017 @03:47PM
(#15881906)
If there isn't one (which is rather improbable - AFAIK all the browsers have it set by default), then it should be either English or both English and the language assumed given the IP address.