Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Mozilla support website language fallback

  • 4 respostas
  • 5 têm este problema
  • 6 visualizações
  • Última resposta por ahto

more options

Mozilla support website does not seem to respect the language preference order when a page is not available in the most preferred language and fallback to another language occurs.

I have configured the following order in my browser: Estonian [et], English [en], Russian [ru], German [de]. When I go to https://support.mozilla.org/et/kb/get-community-support?redirectlocale=et&redirectslug=K%C3%BCsimuse+postitamine, I get the page in Russian, not in English, though English is higher in my language preference list and the page does exist in English.

Even the note on the top of the Russian page shown advertises the English version "This page does not exist in eesti keel. You have been redirected to the Русский version instead. If you would like to localize it into eesti keel, click here. You can also see the English version of this page."

Mozilla support website does not seem to respect the language preference order when a page is not available in the most preferred language and fallback to another language occurs. I have configured the following order in my browser: Estonian [et], English [en], Russian [ru], German [de]. When I go to https://support.mozilla.org/et/kb/get-community-support?redirectlocale=et&redirectslug=K%C3%BCsimuse+postitamine, I get the page in Russian, not in English, though English is higher in my language preference list and the page does exist in English. Even the note on the top of the Russian page shown advertises the English version "This page does not exist in eesti keel. You have been redirected to the Русский version instead. If you would like to localize it into eesti keel, click here. You can also see the English version of this page."
Capturas de ecrã anexadas

Solução escolhida

Try adding English/United States [en-US] and put that above [en]. The [en] locale setting is just skipped for this website, and possibly a number of others. It may also solve your other question.

Ler esta resposta no contexto 👍 1

Todas as respostas (4)

more options

Please combine this with your other post. https://support.mozilla.org/en-US/questions/1168916 Language of Wikipedia searches chosen seemingly at random

Do not post here. Flagged for deletion, duplicate question,

more options

I have no reason to think these are the same problem. If you do, can you outline your thinking?

As far as I can see, the support website issue is purely HTTP content-language negotiation between the browser and the web server, and the server for some reason preferring to serve the language of my third preference over my second preference. If there were such a category, I would have filed this question under "Mozilla website".

The Wikipedia search issue, on the other hand seems to me to be more within the browser, as going to Wikipedia's language-neutral front page (https://www.wikipedia.org/) and doing any searches there I seem to consistently get the Estonian version (my first preferred language).

more options

Solução escolhida

Try adding English/United States [en-US] and put that above [en]. The [en] locale setting is just skipped for this website, and possibly a number of others. It may also solve your other question.

more options

Thank you, Tonnes. Adding "English/United States [en-US]" did the trick for the Mozilla website. No dice with the Wikipedia search, though.

Modificado por ahto a