Argos Translate is a free software translation tool that runs offline and can translate 20+ languages into English. Argos Translate acts as a free alternative to Google Translate.
A self-hosted version exists as LibreTranslate, but can be run without SaaS very easily.
Argos Translate was very simple to install or update if you have pip3.
python3 -m pip install -U argostranslate
Run the GUI version of Argos Translate.
argos-translate-gui
I prefer to add this line to my ~/.bashrc file so less typing is required.
alias translate='argos-translate-gui'
Language pairs are approximately 100MB each.
- Open Argos Translate:
argos-translate-gui - Click on the
Manage Packagesmenu item. - Click on the
Download packagesbutton. - Click on the down arrow beside a language pair that you want to add.
- Wait for the hourglass icon to change into a check mark icon.
- Repeat the last two steps until you have all of the language pairs that you want.
- Click on the
Xin the top right to close theDownload packageswindow. - Click on the
Xin the top right to close theManage Packageswindow.
Note: The Download packages screen does not seem to have a scroll bar so you will probably need to follow the next set of instructions to import new pairs through the GUI.
- Download or make new pairs. Model links can be downloaded from this JSON file without JavaScript or this page with trivial nonfree JS.
- Open Argos Translate:
argos-translate-gui - Click on the
Manage Packagesmenu item. - Click on the
Install package filebutton. - Navigate to where you downloaded the new language pairs, click on the
.argosmodelfile, and click on theOpenbutton. - Repeat the last two steps until you have all of the language pairs that you want.
- Click on the
Xin the top right to close theManage Packageswindow.
- Update list of available language pairs:
argospm update - List all available language pairs:
argospm search - Install new pair syntax:
argospm install *lang_pair_name*
For example, install Turkish to English pair: argospm install translate-tr_en
Optionally, you could install all language pairs using BASH.
for i in $(argospm search | sed 's/:.*$//g'); do argospm install $i ; done
- Open Argos Translate:
argos-translate-gui - Click on the
Manage Packagesmenu item. - Click on the trash can icon besides the pair you want to remove.
- Click on the
Xin the top right to close theManage Packageswindow.
Remove the Turkish to English pair: argospm remove translate-tr_en
Optionally, you could remove all language pairs using BASH if you need to free space fast.
for i in $(argospm list); do argospm remove $i ; done
Languages are chosen as drop down choices.
The left text box translates into the right box.
Example workflow translating from Vietnamese into English:
- Set the left drop down to
Vietnameseand the right drop down toEnglish. - Replace the default text
Text to translate fromin the left text box with some text in Vietnamese. A quick way to do this is to click in the left text box and press the keyboard shortcutCTRL+ato select all and thenCTRL+vto paste. - Wait patiently.
- When text appears in the right text box, read it.
If the output looks similar to the input, try changing the origin language as some languages appear similar if you are unfamiliar with them.