Imprimir este artigo Print this article Enviar o artigo a um amigo Send to a Friend
Home > Internet , Linux , Software , Free Software > Linux StarDict Dictionary

StarDict dictionary in Linux

The StarDict is a dictionary opensource similar to the famous Babylon , which is commercial.

Like Babylon, StarDict has versions for Windows and Linux. The application to be downloaded, does not come with dictionaries installed (if I remember correctly, only Chinese dictionary). On page http://stardict.sourceforge.net/Dictionaries.php can download some dictionaries, but nothing very useful. The good thing is that you can use StarDict dictionaries from Babylon.

01) Well, to install StarDict in Linux via apt-get, just open a Terminal and type:

  apt-get update 

This updates the list of packages available for download. All commands have no line breaks, although they may be appearing in more than one line.

02) Then type the following command to download the StarDict and his tools that are used to convert dictionaries from Babylon to the format it:

  apt-get install stardict stardict-tools 

03) The following command downloads a library, which by name, may be to manipulate XML files that are used by the tools of StarDict

  apt-get install build-essential libxml2-dev 

04) Now that the StarDict is installed, go download the tool to convert the dictionary for StarDict Babylon. In terminal type:

  wget http://optusnet.dl.sourceforge.net/sourceforge/ktranslator/dictconv-0.2.tar.bz2 

05) Now type the following command to extract the package and enter the folder you created:

  tar-jxvf dictconv-0.2.tar.bz2; dictconv cd-0.2 

06) Enter the following commands to configure and compile the package:

  . / Configure, make 

07) To install type:

  checkinstall 

08) If the program is not installed checkinstall, type the command below to download and install:

  sudo apt-get install checkinstall 

09) To download the dictionary Babylon English-Portuguese type:

  wget http://info.babylon.com/glossaries/38C/Babylon_English_Portuguese.BGL 

10) In the command below you convert the dictionary to the format of Babylon, creating a file named Babylon_English_Portuguese1.dic:

  dictconv it Babylon_English_Portuguese1.dic Babylon_English_Portuguese.BGL 

11) After conversion some unnecessary characters are generated in the dictionary file. Remove them with the command below:

  Babylon_English_Portuguese1.dic cat | sed 's / $ [0-9] [0-9] * $ t / t /'> Babylon_English_Portuguese.dic 

12) To complete the conversion, enter the command:

  / Usr / lib / stardict, tools / tabfile Babylon_English_Portuguese.dic 

13) Move the generated files to the folder of dictionaries Stardict:

  Babylon_English_Portuguese.dict.dz sudo mv / usr / share / stardict / dic / 

If you want to download the Portuguese-English dictionary, run the following command:

  wget http://info.babylon.com/glossaries/4EA/Babylon_Portuguese_English_dic.BGL 

Then repeat the steps from 10, noting the file names to be exchanged
for the correct names.

Now, to open the program, go to menu Applications> Accessories and access the StarDict.
The StarDict works like Babylon. Select a word in any program and it automatically displays the translation. On Linux, using Acrobat Reader, it does not work properly, at least to me, but any other program, it works fine.

VN: F [1.9.1_1087]
Rating: 0.0 / 10 (0 votes cast)
VN: F [1.9.1_1087]
Rating: 0 (from 0 votes)

Related posts:

  1. Joining PDF in Linux
  2. Set Gmail as default mail client on Linux Ubuntu
  3. Rip CD to MP3 with Sound Juicer in Linux
  4. Programs to configure 3G usb modems in Linux
  5. Change Volume Label Pen and HDs on Linux

Related posts brought to you by Yet Another Related Posts Plugin .

Tags: Categories: Internet , Linux , Software , Free Software Tags:
  1. No comments yet.
  1. No trackbacks yet.