Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

why is mozilla translating some web pages

  • 2 replies
  • 1 has this problem
  • 1 view
  • Last reply by cor-el

more options

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?

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)

more options

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?

more options

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"};

Modified by cor-el