Website Language Localization

Discussions debate optimal methods for websites to detect and set user language preferences, primarily contrasting browser Accept-Language headers against IP geolocation, with strong advocacy for prioritizing user browser settings over location-based assumptions.

➡️ Stable 0.7x Web Development
4,514
Comments
20
Years Active
5
Top Authors
#4564
Topic ID

Activity Over Time

2007
12
2008
14
2009
69
2010
64
2011
121
2012
190
2013
153
2014
201
2015
181
2016
148
2017
324
2018
149
2019
301
2020
415
2021
352
2022
478
2023
382
2024
396
2025
543
2026
21

Keywords

US IL JPOP gyazo.com GB EDIT belgianbrewed.com FAQ UI UX language english locale en browser character iso languages location user

Sample Comments

Dylan16807 Aug 24, 2012 View on HN

How often is an accept-language that isn't set to English wrong?

adastra22 Aug 27, 2025 View on HN

Or to respect user language settings at all, rather than geolocate and assume.

john76y Nov 20, 2012 View on HN

User with non-English name and language settings as English-US is very common.

thecatspaw Jan 13, 2020 View on HN

Wouldnt they need to check this based on location, and not on user interface language though?

ksaj Aug 28, 2021 View on HN

Wouldn't changing the locale settings defeat 1-?

hcarvalhoalves Aug 22, 2012 View on HN

The classical mistake of assuming the language should be the same as the locale.

plastic3169 May 19, 2025 View on HN

There are 700+ million people living in Europe. The countries are tiny, most have bunch of official languages. The fix would be to use users selected language and not to flip flop it based on location. IP based location guessing doesn’t work even down to right country in here.

arturbelico Jul 6, 2013 View on HN

Are you checking the country where the person is coming from? I'm in Luxembourg and it converts back to german when I navigate to some pages.

hahn-kev May 19, 2025 View on HN

As much as I agree Accept language should be enough, the problem is that English is the default value, so if it's default it's likely to be wrong so I understand guessing because most people don't know you can tell the browser what language you want to use. Partly to blame is also the websites that don't have other languages can't respect the header anyway. I've had plenty of users complain about localization issues and I have to explain that they can just tell the

Fokamul Mar 27, 2025 View on HN

Do you realize you can just switch language and locale with few clicks. What's the problem there?