Stardict, a common Ubuntu translation tool

Source: Internet
Author: User

In daily office applications, we often encounter foreign words or articles that need to be translated. On Windows platforms, we can use many translation tools to help solve the problem. When we goUbuntu
When working in the system, we certainly hope to have a simple and powerful translation tool.

Here we recommend the most common translation tools on the Linux platform --Stardict
(Starship)

. Starship translation provides full-text translation, screen-based word retrieval, and word reading. It supports local and online dictionaries and fuzzy search. This article introducesUbuntu
Desktop 8.10, gnome
Integrated desktop environment.

  1. easily install starship

  Ubuntu
By default, the system does not install starship,Ubuntu
The system software source contains the software. We can
Use
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. Choose "application"> "attachment" from the menu"Lower
Find the terminal item and click it to open a gnome terminal window. In the window, enterLower
Command:

Sudo apt-Get installStardict

After the command is run, it will be automatically onlineLower
Load and install the software package,Stardict
The current version is 3.0.1. After installation, choose "application"> "attachment" from the menu"Lower
You can find the "interstellar translation King" item and click this item to run the interstellar translation King program.

  2. Manage dictionaries

By default, the starship translation software does not contain dictionaries. You can use it as needed.Lower
Load the corresponding dictionary orUse
Network Dictionary. Interstellar translation King defaultUse
Online dictionary of sea words (dict.cn ).

YesUse
To use a local dictionary, you must firstLower
Contains the required dictionary library files. We can access Wang's Chinese DictionaryLower
Load page http ://Stardict
.Sourceforge.net/dictionaries_zh_cn.php
, This page lists all available for freeLower
Dictionary. ToLower
For example, select "KDIC-computer-GB Dictionary"
The "tarbal" link after the "computer vocabulary" item, thenLower
Carrying dictionary filesStardict
-Kdic-computer-gb-2.4.2.tar.bz2. This is a compressed file, suchUse
Open a gnome terminal window and enter the following command:

Sudo tar-xjvfStardict
-Kdic-computer-gb-2.4.2.tar.bz2

After the command is executedStardict
-Kdic-computer-gb-2.4.2 directory. 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 Address of the interstellar translation king.
Dictionary
DirectoryLower
. Close and re-run the starship translation King program. Click the right side of the Starship translation King window.Lower
"Dictionary management" window appears. In the dictionary list of this window, we can see a new "computer vocabulary ". The process for installing other dictionaries is similar.

If notLower
It is difficult to load and install local dictionaries. You can also chooseUse
Network Dictionary. YesUse
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 canUse
The Network Dictionary is used 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 Lang on the toolbar.
Read the word icon button to hear the pronunciation of the word. The Interstellar translation King supports two TTS sound engines, espeak TTS and fesitval.
TTS, we can choose a sound Engine Based on The Voice 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. Support bidirectional rollover
There are more than a dozen languages to translate. 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 to be translatedLower
The program automatically submits the input content to the online translation engine in the background. After processing, the online translation engine returns the result to the translation result area, the translation result is "I am a Chinese ".

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.