Wednesday, February 3, 2010

Setting Up offline multiple language dictionary in Ubuntu

All of you might have see a Dictionary application Under Office Menu in every Ubuntu distro. By default it is configured to work with online dictionary server. So the people we have an Internet connection will miss this application. No,not really,It is possible to configure so that it can work well as if it is online. following are the steps

Start Up synaptic and find the following packages and mark for installation

dict
dictd


these are the server and client for a dictionary services

apart from the above if you continue searching in sequence (to the above mentioned packages) you will find a whole lot of dictionaries -the ones i have installed are
dict-bouvier
dict-devil
dict-elements
dict-foldoc
dict-freedict-eng-deu (english to german)
dict-freedict-eng-hin (english to hindi)
dict-freedict-hin-eng (hindi to english)
dict-gcide
dictionaries-common
dict-jargon
dict-moby-thesaurus
dict-vera



After installing this (and other dictionaries of your choice) there is a small tweak we need to do to make the dictionary work offline

Go to Applications --> Office--> Dictionary and run the programme Dictionary

In the Open Application go to Edit --> preferences
In Source select ADD and
in description add any name you want to use for your customized dictionary services (replace source with a identifiable name)
Let transport be as it is (Dictionary Server)
change Hostname to 127.0.01 (replace dict.org)
Port - Leave as it is. enter add then in the Select a Dictionary Source for looking up words Select the Dictionary source your just added
Enter Close
Type any word to test if the dictonary works (you can / should test with your internet off)
If you get a meaning or any output means its working. Congratulations.

1 comment: