Hacker News new | ask | show | jobs
by fergyfresh 3552 days ago
[Accepted-Language] in the HTTP header and the location based on the IP address (Google has a super easy API for this) is the easiest way that I could think of. Both are pretty easy to implement as I have done both before.
2 comments

This looks to be exactly the behaviour the OP is complaining about. Personally I think this is the correct behaviour.
unless you are on a VPN. then what ?
You will get localized date formatting among a few other things probably. I am just saying you could use location from the HTTP header that is meant to tell the server what languages you speak. The VPN portion could really only be fixed by allowing you to select and save an address that is originally defaulted to IP.