Foreign Languages

translateLocally – translation on your local machine with a GUI

In Operation

The software provides both a CLI and a GUI.

CLI

The image below shows the available models with the command needed to download each model.

translateLocally available models

I’ve downloaded a few models.

translateLocally installed models

Let’s translate some text from English to German. We use the echo command to send the text to translateLocally.

translateLocally

GUI

Let’s take a quick look at the GUI. It lets you download the models with its interface.

translateLocally - GUI

The GUI lets you split the view horizontally in addition to the vertical split shown in the image. It’s also possible to disable sync scrolling, and translate as typing. You can choose the resource usage (threads, memory per thread). Matching words in the translation can be highlighted with a choice of color.

What else does the software offer?

  • Integrate with other applications and browser extensions using native messaging.
    • Use Native Messaging from Python;
    • Use Native Messaging from Firefox and Chrome.
  • Import custom modes with support for the majority of Marian models. Train a Marian model and place it in a directory.
  • Support for custom repositories.

Summary

translateLocally is a fast way to translate text. The current release supports a limited number of language pairs, but this will hopefully increase as the project matures.

Once models have been downloaded, you don’t need access to the internet to perform text translations.

The project has received funding from the European Union’s Horizon 2020 research and innovation programme.

You may also wish to check out TranslateLocally for Firefox, a web extension that enables local and private in-page translations for web browsers. It is a stand-alone extension, but can integrate with TranslateLocally for custom models and even better performance. There’s also a Chrome extension available.

Website: github.com/XapaJIaMnu/translateLocally
Support:
Developer: Nikolay Bogoychev, Jelmer van der Linde
License: MIT License

translateLocally is written in C++. Learn C++ with our recommended free books and free tutorials.

Pages in this article:
Page 1 – Introduction and Installation
Page 2 – In Operation and Summary


Related Software

Translators
LibreTranslateMachine translation API which is entirely self-hosted
Argos TranslateState of the art neural machine translation software.
Speech NoteCombines Speech to Text, Text to Speech and Machine Translation
Translate ShellCLI powered by Google Translate, Bing Translator, Yandex, and Apertium
Crow TranslateCross-platform, lightweight, translator
translateLocallyTranslation on your local machine with a GUI
DialectTranslation app for GNOME
MoonTranslatorMinimalist desktop translation app with hotkeys and multiple services
KlaroSimple and fast translation app
GlateGoogle Translator and Text To Speech Service on Linux Desktop
LocalTranslateMachine translation locally using Firefox translation models

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
1 Comment
Oldest
Newest Most Voted
WilliamBPeckham
WilliamBPeckham
2 years ago

For ARCH/MANJARO folk, it is in the AUR as well.