How do I get Dictionary and Encyclopedia links to go to English Wikipedia

Forums » Opera for Windows/Mac/Linux » Opera browser

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

13. June 2012, 01:19:59

punchball

Posts: 5

How do I get Dictionary and Encyclopedia links to go to English Wikipedia

I just upgraded Opera from 11.61 to 11.64. As usual some settings were lost. Before, when I selected a word and clicked Dictionary in the context menu, I was taken to en.wikipedia.org. Now I'm taken to no.wikipedia.org, which is useless to me. The same is true for the Encyclopedia link.

I'm located in Norway, but the browser is set to the language "English [en]". Why in the world isn't this followed everywhere in the browser?

13. June 2012, 12:10:18

punchball

Posts: 5

Sorry, the URL for the Dictionary link is of course no.wiktionary.org (and en.wiktionary.org).

13. June 2012, 12:59:34

LeoCG

Posts: 8729

What's your OS language? Here it's opening the page in portuguese, which is my OS language.

Or maybe the page is redirecting to the "local" language version based on IP address.

Originally posted by punchball:

I'm located in Norway, but the browser is set to the language "English [en]". Why in the world isn't this followed everywhere in the browser?



Browser language doesn't really matter that much for getting a page on a specific language. You can set english as preferred language for web pages but it depends on the server to accept.

Opera Next 12.15 X64 @ Windows 8 Pro X64
Intel Q6600 - 6GB Ram
Nvidia Geforce GT520 1GB

13. June 2012, 13:41:36

Frenzie

Posts: 14442

Originally posted by LeoCG:

Or maybe the page is redirecting to the "local" language version based on IP address.


Nah, I'd get Dutch in that case.
Intelligent alien life does exist, otherwise they would've contacted us. — CalendarExtend Opera

13. June 2012, 21:45:02

punchball

Posts: 5

Originally posted by LeoCG:

Browser language doesn't really matter that much for getting a page on a specific language. You can set english as preferred language for web pages but it depends on the server to accept.



It has nothing to do with the web page or with redirecting. The problem is in Opera. If I define en.wikipedia.org as a search engine in Opera, then it works. But Opera has the Encyclopedia link set to no.wikipedia.org and the Dictionary link set to no.wictionary.org. Opera should not pay any attention to my OS language (which is English anyway) or my IP. Apparently it does look up my IP. Opera should follow the language I have set in Opera.

Do Opera people read this? Maybe i shoyld file it as a bug.

13. June 2012, 22:49:14

LeoCG

Posts: 8729

Originally posted by punchball:

But Opera has the Encyclopedia link set to no.wikipedia.org and the Dictionary link set to no.wictionary.org.



This is not true. If i highlight a word and the use Dictionary or Encyclopedia, it will open http://pt.wiktionary.org or http://pt.wikipedia.org .

Originally posted by punchball:

Opera should not pay any attention to my OS language (which is English anyway) or my IP.



Most of times it's a site/page thing not a browser ones.

Google, i.e, will always use your ip address to redirect you to the nearest local page no matter which browser you are using. You can change it on your Google settings but it will work this way by default.

If you have the browser in english and set up french as preferred language for websites, you will always get the pages in french if available.



Originally posted by punchball:

Do Opera people read this?



Probably not as this is a user's forum.


Originally posted by punchball:

Maybe i shoyld file it as a bug.



https://bugs.opera.com/wizarddesktop/

Post the bug number (without the @ part) for reference.


Opera Next 12.15 X64 @ Windows 8 Pro X64
Intel Q6600 - 6GB Ram
Nvidia Geforce GT520 1GB

13. June 2012, 23:46:30 (edited)

mimi_s_mum

Queen of DIY & rugby loving sicfi buff translator

Posts: 2785

There is a bug in atuo-upgrade mechanism in Windows that it downloads the International version for me (in NZ), even the original installation was done with the English version installer. This bug is the reason I never use Opera's build-in program auto-upgrader. And yes, I have reported this bug myself.

The problem with an International version installer is it brings in unnecessary locales in Opera's program folder. Some locales only dictates browsing and/or UI language. But others also applies "localised" search engine settings. And here is where the other bug comes in to make matters more complicated. Once a set of "localised" search engine settings are applied, turning the UI and browsing languages to English would not remove the "localised" settings. It is an old bug. And I'm sure someone already reported it.

If I were you, I would first make sure your locale is pointed to C:\Program Files\Opera\locale\en\en.lng via Preferences > General -> Language/ Details dialogue. Then I would close opera and remove search.ini from your profile folder. Restarting Opera should restore the default search engine settings for English locale users. If that did not work, I'd try uninstalling the current Opera (but keeping profile/local folders), resetting locale file & removing the search.ini as described above, and replacing with the English only version installer.

RE Setting default google region to google.com. Go to opera:config#UserPrefs|GoogleTLDDefault and change it to "google.com". Save.

[Addendum]
DSK-310038 was submitted by me for the bug "Automatic update installs International version on top of English version" on Friday, 13th, August 2010.
Desktop OS: Windows 8 x64 + 7 x64 sp1 x2 + XP sp3; Mobile OS: Android 4.0.4; Other specs (outdated, sorry)
New Zealand All Blacks the 2011 Rugby World Cup Champion knight

Want to send me a message? Send it to mimismum(at)myopera.com (not mimi_s_mum@myopera.com)

14. June 2012, 00:42:14

punchball

Posts: 5

Originally posted by LeoCG:

This is not true. If i highlight a word and the use Dictionary or Encyclopedia, it will open http://pt.wiktionary.org or http://pt.wikipedia.org .


Obviously what I meant was that *my* installation of Opera has those URLs! As I said this is not a web page or server issue. It's an issue with settings in Opera.

Originally posted by mimi_s_mum:

If I were you, I would first make sure your locale is pointed to C:\Program Files\Opera\locale\en\en.lng via Preferences > General -> Language/ Details dialogue. Then I would close opera and remove search.ini from your profile folder. Restarting Opera should restore the default search engine settings for English locale users.


Thanks very much for your reply. I'll try out your suggestion.

14. June 2012, 01:03:19

punchball

Posts: 5

My locale is ..\en.lng.

Removing search.ini and letting Opera recreate it actually only created problems. I did have en.wikipedia.org as a search engine; this was now replaced with no.wikipedia.org! The Dictionary and Encyclopedia links were unchanged (so still "no."). I reinstated my copy of search.ini.

In order to fix this I followed this procedure: http://my.opera.com/Tamil/blog/how-to-change-hotclick-dictionary-encyclopedia-site-in-opera
It worked. Now I have another thing to worry about the next time I upgrade.

14. June 2012, 02:09:27 (edited)

mimi_s_mum

Queen of DIY & rugby loving sicfi buff translator

Posts: 2785

Originally posted by punchball:

Removing search.ini and letting Opera recreate it actually only created problems. I did have en.wikipedia.org as a search engine; this was now replaced with no.wikipedia.org! The Dictionary and Encyclopedia links were unchanged (so still "no."). I reinstated my copy of search.ini.

As I was doing my grocery shopping, it suddenly occurred to me it could happen if other locales were left in Opera's program folder ([Edited/added] because of the second bug I mentioned above. I also should have thought about the possibility of some settings retained in operaprefs.ini). So my apology for not considering that possibility.

Originally posted by punchball:

In order to fix this I followed this procedure: http://my.opera.com/Tamil/blog/how-to-change-hotclick-dictionary-encyclopedia-site-in-operaIt worked. Now I have another thing to worry about the next time I upgrade.

I would still try uninstalling the current Opera, deleting Program Files\Opera\ folder and downloading/reinstalling with English Installer. I would then try renaming search.ini & operaprefs.ini while Opera closed and restarting Opera to see if that addresses the problem in your system. You can always rename those ini files back (after deleting the newly created ones) to restore your current set up. If reinstalling with English Installer has resolved your problem, you can prevent the same issue from happening by manually upgrading using the English installer in future. You need to disable autoupdate feature via Preferences > Security -> Auto-update/ "Do not check for update".

Desktop OS: Windows 8 x64 + 7 x64 sp1 x2 + XP sp3; Mobile OS: Android 4.0.4; Other specs (outdated, sorry)
New Zealand All Blacks the 2011 Rugby World Cup Champion knight

Want to send me a message? Send it to mimismum(at)myopera.com (not mimi_s_mum@myopera.com)

Forums » Opera for Windows/Mac/Linux » Opera browser