Meta Arkadia wrote:
You're not the first one to come up with that idea... a couple of people have mined wikipedia interlanguage links for glossary data before.
I'm not interested in mining the Wikipedia for glossary data, and I'm most certainly not striving to be the first to come up with an idea.
I'm aware of the shortcomings of the Wikipedia, but the interlanguage links do offer benefits other encyclopaedias don't. All I want is to be able to search for a term or a name (of a company, for example) in my source language that will show its Wiki entry and
the article in my target language. I then want to read
both entries to see what I can use in my translation or my writings.
For example: If the word "platypus" occurs in my text, I want a shortcut that shows me both http://en.wikipedia.org/wiki/Platypus
, so I can read all about it in both languages.
I wrote an Automator Service to achieve that, but it doesn't work yet. Here it is
. It does show the English site, of course, but not the Dutch version. The trouble is, that in my Action, I can search for http://nl.wikipedia.org/wiki/Vogelbekdier
in the page source of the website, but not for http://nl.wikipedia.org/wiki/b\w+/g
which is necessary (I think) for showing other Wiki entries. Yesterday, I tried the regex
way, today I'll concentrate on awk
, and then there's curl
(never used before). By the time I will succeed, I'll probably have wasted decennia worth of time writing the Service instead of simply clicking "Nederlands" in the English wiki page.
By the way, I don't think it is possible to integrate this in the CafeTran UI. And I don't care, as long as clicking the search term in CafeTran to look it up in the Wiki in two languages works.
[Edited at 2015-04-26 01:44 GMT]