Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

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