- ANN tags:
- foss
- gnome
- ruby published: true comments: true
I found fantasdic a great powerful dictionary tool with friendly UI and supports multiply sources. Unfortunately, this project seems to be no longer maintained. The latest version is 1.0-beta7.
The google translate source was created in 2007. As the google translate service page changed, this module doesn't work any more, so I just picked up my vim then created this patch for those still want to use it.
This patch has dependency with ruby's json module, so before you apply it, run: sudo gem install json or sudo apt-get install libjson-ruby1.8
Download the patch at: https://bugzilla.gnome.org/attachment.cgi?id=152835
Patch it (Ubuntu installation as example):
cd /usr/lib/ruby/1.8/fantasdic/sources/
sudo patch google_translate.rb /home/sun/google_translate.rb.diff
Restart fantasdic, then your get it works! And this bug is tracked at: https://bugzilla.gnome.org/show_bug.cgi?id=605641