Stardict, a common Ubuntu translation tool

Source: Internet
Author: User

In daily office applications, we often encounter unfamiliar foreign words orArticleTranslation is required. On Windows, many translation tools can be used to help solve the problem. When we go to work in Ubuntu, we certainly hope to have a simple and easy-to-use, powerful translation tool.

Here we recommend the most common translation tools on the Linux platform --Stardict). Starship translation provides full-text translation, screen-based word retrieval, and word reading. It supports local and online dictionaries and fuzzy search. This article describes how to integrate the GNOME Desktop Environment Based on Ubuntu Desktop 8.10.

1. easily install starship

Starnet is not installed in Ubuntu by default, but the software in Ubuntu contains the software. We can use the apt-GET command or the new software package manager to install the software. If the current system is connected to the Internet, we use the apt-GET command to install the software. In the menu "ApplicationProgram"→ Under" attachment ", locate the" terminal "item and click the item to open a gnome terminal window. In the window, enter the following command:

Sudo apt-Get install stardict

After the command is run, the package is automatically downloaded and installed online. The current version of stardict is 3.0.1. After the installation is complete, go to the "application"> "attachment" menu to find the "interstellar translation King" item. Click this item to run the interstellar translation King program.

2. Manage dictionaries

By default, the starship software does not contain dictionaries. You can download and install corresponding dictionaries or use network dictionaries as needed. By default, Starship uses the online dictionary dict.cn ).

To use a local dictionary, you must first download the required dictionary library files. We can visit the 文. For example, if you select the "KDIC-computer-GB dictionary computer Dictionary" chain, the dictionary file stardict-kdic-computer-gb-2.4.2.tar.bz2 is downloaded. This is a compressed file. If you use the command to decompress it, open a gnome terminal window and enter the command:

Sudo tar-xjvf stardict-kdic-computer-gb-2.4.2.tar.bz2

After the command is executed, the stardict-kdic-computer-gb-2.4.2 directory is generated. Run the following command:

Sudo MV stardict-kdic-computer-gb-2.4.2/usr/share/stardict/DIC /.

Move the previously generated directory to the public dictionary directory of the interstellar translation king. Close and re-run the starship translation King program. Click the dictionary management icon in the lower-right corner of the Starship translation King window. The dictionary management window appears. In the dictionary list of the window, we can see a new "computer vocabulary ". The process for installing other dictionaries is similar.

If it is difficult to download and install a local dictionary, you can also use a Network Dictionary. To use the Network Dictionary, first register a user account in the "Network Dictionary" section of the "Preferences" Window of the program and log on with the registered account. Then, on the "Network Dictionary" page in the "dictionary management" window, add the required Network Dictionary. Finally, click the fourth vertical button on the left of the interstellar translation King window, and select "enable Network Dictionary" to enable the Network Dictionary. Then, we can use the network dictionary to query words.

3. Make good use of translation functions

1. Screen words

The screen-based word retrieval function is supported by the interstellar translation king. The word retrieval function is enabled by default when the program is running. When a word is obtained, move the cursor over a word, such as "share" in the terminal window. Double-click the word and select it. The Word Interpretation window appears (figure 1 ).

2. Generate a word

The star translator supports the word reading function. If you want to hear the pronunciation of a word normally in the interstellar translation king, enter any word, such as "China", and click the "read words" icon on the toolbar, you can hear the pronunciation of a word. The Interstellar translation King supports two TTS sound engines, espeak TTS and fesitval TTS. We can choose a suitable sound engine based on the sound effect.

3. Full-text translation

The full-text translation function is supported by integrating online translation service engines such as Google, Yahoo, Altavista, and systranbox in the background. There are more than a dozen languages that support two-way translation. For Chinese users, Chinese to English or simplified is the most common. Click the third vertical button on the left of the Starship translation King window. The full text translation page appears on the right (figure 2 ).

Enter "I am a Chinese" in the "to be translated" area, select "yahoo" as the online translation service engine, select "simplified Chinese" as the source language, and select "English" as the target language ". Click the "Translation" button under the "to be translated" area. The program will automatically submit the input content to the online translation engine in the background. After the online translation engine completes processing, the results will be returned to the translation result area, the translation result is "I am a Chinese ".

 

(Original address: http:// OS .yesky.com/335/8772335.shtml)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.