Many of us speak more than one language. You might also be a translator. Regardless of your situation, the fact is that translation tools are regularly used by many. In any case, most of us will probably need to use one at some point in our lives. When you think of Linux, you may not immediately think of great translation apps. However, there are some solid language translators for Linux, with some of them examined here.
1. Translate Shell
Translate Shell is a command-line-based tool which uses engines from Google Translate, Apertium, Yandex.Translate, and Apertium.
There are a few options for installing Translate Shell. You can install from the terminal with the following distros.
Debian and Ubuntu-based distros:
Arch based-distros:
Fedora:
Alternatively, you can download and install Translate Shell directly from its Git repository:
Using Translate Shell
Translate Shell translates to English by default. To translate one word in another language to English:
For instance, if you translated the Spanish word “bueno” to English, you would be given translations in English such as “good.”
To translate an entire sentence, use trans and surround the sentence you want to translate with quotes. For example:
You can also translate the contents of a file:
Replace “filepath” above with the full path to your file. If you want to find the language codes that correspond to the various languages, then simply run:
Knowing the language codes is important for translating words to specified languages. This is necessary sometimes since you will want to translate to more than one language. For example, if you want to translate “technology” into French and Spanish, you would type the following command:
If you want to translate to multiple languages, then you would use the following syntax:
You may also need to specify the language you are translating from. You can do this with the ta option. This is necessary since the translation engines don’t always identify the source language correctly. For example, if you wanted to translate “vert” from French to English, you would type:
2. Crow Translate
Crow Translate is a language translator for Linux that has both a GUI and a command-line interface. It uses the translation engines of Google Translate, Yandex Translate, and Bing Translator.
Installing Crow Translate
Crow Translate is available fo r both Windows and Linux. All of the necessary files are available on GitHub. This tutorial walks through how to complete the installation on Ubuntu, Debian, and Linux Mint.
First, you will need to install some dependencies:
Next, you will need to download the .deb file from GitHub to your Downloads folder.
Run the code below. Make sure to replace “filename” with the name of the .deb file you downloaded.
If you run into any errors, run:
After completing this installation process, you will be able to run Crow Translate.
Using Crow Translate
Crow Translate supports 117 languages. They are viewable within the app.
Choose the translation engine you wish to use from the bottom right of the screen. It’s fairly simple to operate the GUI and is capable of autodetecting the language you want to translate. It also lets you specify the languages you are translating in case the translation engine doesn’t recognize what’s going on.
If you wish to use Crow Translate from the command line, run a help command to get you started:
3. Tuxtrans
Tuxtrans is an entire Linux operating system geared toward translation. It’s based on Ubuntu and comes with many tools to help translators. These include Apertium and OmegaT. It is clearly geared toward someone who is a professional translator. The Tuxtrans website lists all of the software that is provided with the operating system. You should also know that Tuxtrans is available for free.
Final Thoughts
Linux offers many tools that can help you translate between languages. Great choices for the average user are Translate Shell and Crow Translate. If you are a professional, you may even want to consider using the Tuxtrans operating system since it provides all the tools you need to do your job effectively. However, if you still prefer the web-based Google Translate, you can learn some of the tricks to using Google Translate like a pro in this tutorial.
William has been fiddling with tech for as long as he remembers. This naturally transitioned into helping friends with their tech problems and then into tech blogging.
Our latest tutorials delivered straight to your inbox