Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

To the best of my knowledge, if you go to https://developer.mozilla.org you're just served articles in English (that may be because I have English set as my language in my browser, I don't remember what happens if I set it to my actual native language). But I noticed that Google search results actually are pointing me to my native language.


I'm Swedish, and get "redirected" to https://developer.mozilla.org/sv-SE/ if I follow that link, even though I have English set as the language in my browser.


2011-2015 I was on the team at Mozilla responsible for MDN.

At the time it most certainly was not doing any type of IP geolocation; your browser's Accept-Language header was how we initially determined the language to show you.

Edit: And it still does only use Accept-Language. Here's the code:

https://github.com/mozilla/kuma/blob/a3ad0dbb286fd45affdf1ae...


Thank you, I'll look deeper and see if I can solve it. It's likely an issue on my end then, I've corrected my comment.


I'm Swedish and I don't get redirected. Are you sure Swedish isn't listed in (firefox) Options -> Content -> Languages -> Choose... ?

(the language of the browser itself is irrelevant)

It's embarrassing how many steps you have to take do this. Why not honor my OS settings huh...


I'm on Chrome, and even though both my OS and browser is set to English, I do get redirected to the translated page.

Thanks for the heads up though, I'll do some more digging and see if I can manage to change it.


I don't get redirected in chrome wither, granted I always need to relentlessly hunt down obscure language menus.

Perhaps: Settings -> Show advanced settings (sigh) -> Language and input settings


Ugh, you have to drag and drop order in that list. Top-to-bottom priority. Now it works.

Tack för hjälpen!


English is my language in my browser, but they seem to be using IP addresses, because sometimes I get Portuguese articles.

They should keep an endless cookie or whatever to never serve me anything besides English.


They automatically set it according to your location, I have the same problem in France.


if you don't want geo location for other reasons, you can turn it off :

https://support.mozilla.org/en-US/questions/1002846


This "geo.enabled" flag should be false by default on desktop Firefox! <<PRIVACY HARUMPH>>




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact