Web-lookups allow you to execute web queries based on text selected in the source or target window. For instance if you see a word in the source text that you would like to search for in Wikipedia, before web lookups you would have copied and pasted the text. With web lookups, select the text, right click, and then select the web lookup.
Below are user contributed web-lookup queries that you can add to Virtaal. If you have others that you think could be useful then please add them to the list.
You can also create your own web-lookups.
These are not bound to any language and deal specifically with lookups performed against search engines.
Various dictionaries for a single language, multiple languages or specialist domain dictionaries. Not limited to English dictionaries.
http://%(querylang)s.wiktionary.org/wiki/%(query)s
http://www.yourdictionary.com/%(query)s
http://translate.google.com/#%(querylang)s|%(nonquerylang)s|%(query)s
These are not bound to any language, such as where language is not important, or will work in almost any source or target language, such as Wikipedia where the query will ask the correct language version of Wikipedia.
The Wikipedia encyclopaedia provides over 3 million English articles for you to query. The query will also work on any of the many Wikipedia in other language encyclopaedias.
http://%(querylang)s.wikipedia.org/wiki/%(query)s
Open-Tran.eu contains all of the open source software translations available. While there is already a Translation Memory plugin you might want to quickly see how a phrase has been translated or used in other software translations.
http://%(querylang)s.%(nonquerylang)s.open-tran.eu/suggest/%(query)s
http://wordnetweb.princeton.edu/perl/webwn?s=%(query)s&sub=Search+WordNet&o2=&o0=1&o7=&o5=&o1=1&o6=&o4=&o3=&h=
http://btb.termiumplus.gc.ca/tpv2alpha/alpha-eng.html?lang=eng&i=1&srchtxt=%(query)s&index=ent&go=Find
The Microsoft website contains information on a lot of their terms and translations. It is not currently possible to define a single URL that will work for all languages, since the language codes their site expects should contain a country code in addition to the language code, which is not usually the case in Virtaal. But it should still be easy to write a URL for your language specifically. Here are a few examples for different languages. Note how a country code is always added to the language code at the end of the URL.
Afrikaans
http://www.microsoft.com/Language/en-US/Search.aspx?sString=%(query)s&langID=af-za
French
http://www.microsoft.com/Language/en-US/Search.aspx?sString=%(query)s&langID=fr-fr
Similarly use ‘pt-pt’ for (Iberian) Portuguese, ‘pt-br’ for Brazilian Portuguese, ‘sw-TZ’ for Swahili, etc.
These queries are only relevant to one language, such as a monolingual dictionary, or only a few languages such as a terminology list that covers a single pair or limited pairs of languages.
You need to know the following information:
Valid template variables in ‘url’ fields are: