Hacker News new | ask | show | jobs
by Daycrawler 3149 days ago
No need to be asked. The browser sends the Accept-Language header depending on the language set in the browser's settings, which defaults to the OS language for the browser installed by default (other browsers will ask at installation).

In other words this header is the most reliable piece of information to know what language the user wants. Somehow big tech decided IP geolocation is more reliable.

1 comments

Asking is more reliable. There is no reason for a site to believe it should translate stuff for me just because my browser's interface is in another language.

Do use the header, but always be open for the user changing the language too.