4 messages in net.sourceforge.lists.translate-develRe: [Translate-devel] VIrtaal "TM" pl...
FromSent OnAttachments
Alexander DupuyFeb 3, 2009 8:29 am 
F WolffFeb 3, 2009 10:15 am 
Dwayne BaileyFeb 3, 2009 1:42 pm 
Dwayne BaileyFeb 3, 2009 2:30 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [Translate-devel] VIrtaal "TM" plugin using Google Translate?Actions...
From:Dwayne Bailey (dwa@translate.org.za)
Date:Feb 3, 2009 1:42:43 pm
List:net.sourceforge.lists.translate-devel

On Tue, 2009-02-03 at 20:15 +0200, F Wolff wrote:

Op Di, 2009-02-03 om 11:29 -0500 skryf Alexander Dupuy:

I just read a post about a Google Translate widget for Betawiki (http://ultimategerardm.blogspot.com/2009/02/google-is-my-friend.html), and it made me wonder whether the new TM plugin architecture for Virtaal could support such a plugin, which appeared to be a translation memory, but actually just shipped the string out to Google for machine translation. Given the presence of a libtranslate machine translation plugin, I would guess that this would be possible, but as the TM stuff in Virtaal 0.3 doesn't seem to work on my Fedora 7 system (backrev GTK+, no SQLite, maybe other issues, I haven't had time to investigate) I don't really know for sure.

@alex

Your wish is already granted :-) The libtranslate backend for "translation memory" already does this, and a bit more. It not only provides the language pairs of Google, but all pairs supported by libtranslate.

The big downside to all of this is that libtranslate seems to be unmaintained, and not well packaged. So this is a call for people to report their wishes for the packaging of libtranslate to their distributions. Anybody willing to take this up at least for Debian?

Although unmaintained its pretty stable. Its packaged on Ubuntu and Fedora, I needed to get some fixes in so that it works with Python's ctypes. Who uses Debian anyway? :)

Apart from Dwayne who wrote the plugin, this definitely works for me on my machine, but was a bit of trouble to build initially. Dwayne also updated the list of supported languages and added a few new providers, such as the Apertium project which supports several language pairs not commonly supported.

So you and Dwayne had the same cool idea :-)

Apart from being a cool idea, I was curious to see how easy it would be to write a TM provider for Virtaal. I wrote two on that weekend. TinyTM and libtranslate. Most of the time was spent fixing a libtranslate bug.

So have fun, it definately works. Whether its really useful is a bigger question.

I hope your setup will soon improve - perhaps we can try on IRC to get things working on your older setup anyway? Would OSX support help you? Virtaal runs for me from a checkout with Imendio's native GTK+ port for OSX. I'm still trying to improve the packaging, though.

Friedel

------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com

-- Dwayne Bailey Associate +27 12 460 1095 (w) Translate.org.za +27 83 443 7114 (c)

Recent blog posts: * Localisation Information Language - preventing mistakes and increasing the
richness of localisation http://www.translate.org.za/blogs/dwayne/en/content/localisation-information-language-preventing-mistakes-and-increasing-richness-localisation * xclip - where have you been all of my life! * Virtaal on Fedora

Stop Digital Apartheid! - http://www.digitalapartheid.com Firefox web browser in Afrikaans - http://af.www.mozilla.com/af/ African Network for Localisation (ANLoc) - http://africanlocalisation.net/

------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com