Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

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

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

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

Language of Wikipedia searches chosen seemingly at random

  • 9 отговора
  • 4 имат този проблем
  • 1 изглед
  • Последен отговор от cor-el

more options

I have defined multiple languages in my Firefox content preferences. Now, when I use the !w keyword in the search bar for Wikipedia searches, the language version of Wikipedia is chosen seemingly at random. Observe the two screenshots attached where nothing was changed between the two searches except the word to search for. Still one of the searches was made in English Wikipedia and the other in Estonian Wikipedia. And, per Murphy's law, each of them went to the wrong version (the English query to the Estonian site and the Estonian query to the English site). I could live with the searches going either way as long as it's consistent (then I would know how to write my queries). As it stands now it's almost unusable. Firefox 54.0.1 (32-bit) with English UI. Windows 7 Pro SP1 (64-bit) with English UI, in case that matters.

I have defined multiple languages in my Firefox content preferences. Now, when I use the !w keyword in the search bar for Wikipedia searches, the language version of Wikipedia is chosen seemingly at random. Observe the two screenshots attached where nothing was changed between the two searches except the word to search for. Still one of the searches was made in English Wikipedia and the other in Estonian Wikipedia. And, per Murphy's law, each of them went to the wrong version (the English query to the Estonian site and the Estonian query to the English site). I could live with the searches going either way as long as it's consistent (then I would know how to write my queries). As it stands now it's almost unusable. Firefox 54.0.1 (32-bit) with English UI. Windows 7 Pro SP1 (64-bit) with English UI, in case that matters.
Прикачени екранни снимки

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

On the "Options/Preferences -> Search" page you can double-click in the keyword column next to a specific search engine to set or modify this keyword.

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

Всички отговори (9)

more options

What is the order of the installed languages?

  • Options/Preferences -> Content -> Languages

Do you only get languages that show in this list? Does this also happen if you only set one language?


You can save a backup of the intl.accept_languages pref that you can find on the about:config page if you want to be able to restore the installed languages list.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

more options

Hi, the language preferences are Estonian [et], English [en], Russian [ru], German [de]. So far I have only seen Wikipedia in the two first languages, never the two last ones or any other. Will try reducing the list to just one language and get back to you with the results.

more options

With English the only language in the accepted list, queries for both 'maa' and 'earth' went to English Wikipedia. However, with Estonian the only language, still the query for 'maa' went to English Wikipedia, so it seems in case of non-English preference, even reducing the list to one language does not guarantee stable results.

more options

It seems to me the issue is between the browser core and the search engine interface, 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

Is there a way to split the !w keyword into two, one for English and one for Estonian Wikipedia? I do have both of these defined as custom search engines and when using mouse to select one of them after typing the query, the results are consistent. However, I haven't found a way to define my own search bar keywords. Have looked in both Options -> Search and also in about:config.

more options

It could also be an issue with your system's language. If Localization settings are set to either Estonia or English, but your settings are set the opposite, you might have had issues this way. I know I had, especially when traveling to other places. It sets localization language to the native one and it becomes a mess to deal with. See if this helps you.

more options

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

On the "Options/Preferences -> Search" page you can double-click in the keyword column next to a specific search engine to set or modify this keyword.

more options

Thank you, cor-el, that helps some.

A heads-up to those reading the thread later: the keywords seem to work on the location bar, but not on the search bar. And the keyword needs to be used as-is on the location bar (that is, do not prefix it with the exclamation mark, like you would to switch between the built-in engines on the search bar).

more options

You can't use a keyword on the search bar, a keyword only works in the location/address bar because you want to open a web page and pass parameters to this website. The keyword is only an alias (shortcut) for this URL. For the search bar you will have to select the search engine in the list that shows in the drop-down list if you do not want to use the default search engine.