Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Mozilla support website language fallback

  • 4 отговора
  • 5 имат този проблем
  • 1 изглед
  • Последен отговор от 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."
Прикачени екранни снимки

Избрано решение

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.

Прочетете този отговор в контекста 👍 1

Всички отговори (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

Избрано решение

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.

Променено на от ahto