Imprimir este artigo Print this article Enviar o artigo a um amigo Send article 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, the 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 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 will be 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 Babylon dictionary for StarDict. 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 following command 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) With the command below you convert the dictionary to the format of Babylon, generating a file with the name 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 following command:
Babylon_English_Portuguese1.dic $ cat | sed 's / $ [0-9] [0-9] * $ t / t /'> Babylon_English_Portuguese.dic

12) To complete the conversion, enter the following 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 in the Applications>> Accessories and access the StarDict.
The StarDict works as Babylon. Select a word in any program and it automatically displays the translation. On Linux, using the Acrobat Reader, it does not work properly, at least to me, but in any other program, works fine.

VN: F [1.8.4_1055]
Rating: 0.0 / 10 (0 votes cast)
VN: F [1.8.4_1055]
Rating: 0 (from 0 votes)

Related posts:

  1. Setting GMail as default mail client on Linux Ubuntu
  2. Joining PDF in Linux
  3. Ripping CD to MP3 with Sound Juicer in Linux
  4. Change Volume Label of sticks and hard drives in Linux
  5. Programs to configure 3G usb modems in 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.