why is mozilla translating some web pages
When I go to this site http://www.fcbarcelona.es/ , Mozilla automatically switch that site to English version even though I went to Spanish version, I never had that problem, that site is on my bookmarks and it was always Spanish version, but recently started to switch to english. I don t have this problem when I go to this site using google chrome. Can you tell me why is this happeninig?
All Replies (2)
The page contains a script that redirects based on your browser's language setting. I get redirected to the .com site in both Firefox and Chrome because both reveal my language to be en-US. I'm surprised you get different results.
If you open Firefox's web console and check the language, what do you get?
- Open the web console by pressing Ctrl+Shift+k
- Next to the caret (">") type or paste navigator.language and press Enter
In Chrome, you can check this similarly:
- Open the console by pressing Ctrl+Shift+j
- Next to the caret (">") type or paste navigator.language and press Enter
Are you getting different languages in your browsers? If not, perhaps you have blocked script-based redirects in Chrome somehow?
They can redirect to these localized sites:
var routes = {"en":"http://www.fcbarcelona.com","ar":"http://www.fcbarcelona.com/ar","ja":"http://www.fcbarcelona.jp","zh":"http://fcbarcelona.cn","ca":"http://www.fcbarcelona.cat","fr":"http://www.fcbarcelona.com/fr","id":"http://www.fcbarcelona.co.id"};
Gewysig op