Machine Learning

Machine Learning in Linux: LibreTranslate is Self-hosted Machine Translation

In Operation

When you start libretranslate, you’ll be invited to point your web browser to http://127.0.0.1:5000

Start LibreTranslate

This is what you’ll see in your web browser. The software translates text or files. For the latter, it supports .txt, .odt, .odp, .docx, .pptx, .epub, and .html formats.

LibreTranslate at startup
Click image for full size

Slap some text into the left hand box. The software auto-detects the language (with an accuracy percentage). Now choose the language to translate to from the dropdown box in the right-hand box. In the example below, we’ve chosen to translate from English to French. The software translates on-the-fly.

LibreTranslate with translation
Click image for full size

We can copy the translation to the clipboard.

We’re not qualified to comment on the accuracy of the translation. In any event, the translation is handled by Argos Translate.

Summary

LibreTranslate offers an excellent web front-end to Argos Translate. It’s a much better experience than using the GUI available with Argos Translate.

With a really simple installation, you’ll have your own API server with no effort or bother. If you need to translate text or files and want to move away from the proprietary world of Google, you should definitely check out LibreTranslate.

You’ll need a machine with at least 4GB of RAM.

Website: libretranslate.com
Support: GitHub Code Repository
Developer: LibreTranslate contributors
License: GNU Affero General Public License v3.0

Artificial intelligence icon For other useful open source apps that use machine learning/deep learning, we’ve compiled this roundup.

LibreTranslate is written in Python. Learn Python 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
PotHighly versatile translator that offers translation by selection and input
LibreTranslateMachine translation API which is entirely self-hoste
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
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 Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments