# \[LibreTranslate\] Free and Open Source Machine Translation API

**URL:** https://forum.yunohost.org/t/libretranslate-free-and-open-source-machine-translation-api/37753
**Category:** Apps
**Tags:** libretranslate, french, english
**Created:** [July 15, 2025, 1:39pm UTC](https://forum.yunohost.org/t/libretranslate-free-and-open-source-machine-translation-api/37753 "2025-07-15T13:39:15Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Tho](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tho/32/3667_2.png) [@Tho](https://forum.yunohost.org/u/Tho)
#### Post date: [July 15, 2025, 1:39pm UTC](https://forum.yunohost.org/t/libretranslate-free-and-open-source-machine-translation-api/37753/1 "2025-07-15T13:39:15Z")

</div>

[![Integration level](https://camo.githubusercontent.com/ac1f3e07f8dec1f7f8d2fa355d4f29219a0cac1e7d64094517c1433c4182adbc/68747470733a2f2f617070732e79756e6f686f73742e6f72672f62616467652f696e746567726174696f6e2f6c696272657472616e736c617465)](https://ci-apps.yunohost.org/ci/apps/libretranslate/) [![Working status](https://camo.githubusercontent.com/3c244ecee014766ffe50aca8f18e5da0d4bd8e28a56bb694cfd7145c1d203f2b/68747470733a2f2f617070732e79756e6f686f73742e6f72672f62616467652f73746174652f6c696272657472616e736c617465)](https://camo.githubusercontent.com/3c244ecee014766ffe50aca8f18e5da0d4bd8e28a56bb694cfd7145c1d203f2b/68747470733a2f2f617070732e79756e6f686f73742e6f72672f62616467652f73746174652f6c696272657472616e736c617465) [![Maintenance status](https://camo.githubusercontent.com/abda549e6e5090b8515115a33998e74694c1d6fb3112095cb5159d48035c7855/68747470733a2f2f617070732e79756e6f686f73742e6f72672f62616467652f6d61696e7461696e65642f6c696272657472616e736c617465)](https://camo.githubusercontent.com/abda549e6e5090b8515115a33998e74694c1d6fb3112095cb5159d48035c7855/68747470733a2f2f617070732e79756e6f686f73742e6f72672f62616467652f6d61696e7461696e65642f6c696272657472616e736c617465)

[![Install LibreTranslate with YunoHost](https://camo.githubusercontent.com/e2c85a6b6a0d8de4d6ed0a2811e243389dbd300c445c18c2e55db2849497666a/68747470733a2f2f696e7374616c6c2d6170702e79756e6f686f73742e6f72672f696e7374616c6c2d776974682d79756e6f686f73742e737667)](https://install-app.yunohost.org/?app=libretranslate)

## Overview

Free and Open Source Machine Translation API, entirely self-hosted. Unlike other APIs, it doesn’t rely on proprietary providers such as Google or Azure to perform translations. Instead, its translation engine is powered by the open source Argos Translate library.

**Demo:** [https://libretranslate.com/](https://libretranslate.com/)

## Screenshots

[![Screenshot of LibreTranslate](https://github.com/YunoHost-Apps/libretranslate_ynh/raw/1e06596f1873f10d20c40f3423450d78c672bbf3/doc/screenshots/screenshot.png)](https://github.com/YunoHost-Apps/libretranslate_ynh/blob/1e06596f1873f10d20c40f3423450d78c672bbf3/doc/screenshots/screenshot.png)

## Documentation and resources

- Official app website: [https://libretranslate.com/](https://libretranslate.com/)
- Official admin documentation: [Swagger UI](https://libretranslate.com/docs/)
- Upstream app code repository: [GitHub - LibreTranslate/LibreTranslate: Free and Open Source Machine Translation API. Self-hosted, offline capable and easy to setup.](https://github.com/LibreTranslate/LibreTranslate)
- YunoHost Store: [YunoHost app store | LibreTranslate](https://apps.yunohost.org/app/libretranslate)
- Report a bug: [GitHub · Where software is built](https://github.com/YunoHost-Apps/libretranslate_ynh/issues)

---

<div class="post-metadata">

### Author: ![Tho](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tho/32/3667_2.png) [@Tho](https://forum.yunohost.org/u/Tho)
#### Post date: [July 15, 2025, 1:41pm UTC](https://forum.yunohost.org/t/libretranslate-free-and-open-source-machine-translation-api/37753/2 "2025-07-15T13:41:08Z")

</div>

CALL FOR TESTERS:  
Please try to upgrade LibreTranslate ou to install a new version from the testing branch:

```auto
# fresh install:
sudo yunohost app install https://github.com/YunoHost-Apps/libretranslate_ynh/tree/testing

# upgrade an existing install:
sudo yunohost app upgrade libretranslate -u https://github.com/YunoHost-Apps/libretranslate_ynh/tree/testing

```

Great news! I’ve finally got the time to give some love to this package. This package still uses the latest version of LibreTranslate but changes the way LibreTranslate is built.

News:

- Build LibreTranslate from source: Previous version of the package installed a more than 5Gb huge version of LibreTranslate. Now, you have two choices:
  - the CPU version: a lighter version, without all the cuda (GPU) dependencies (± 1Gb);
  - the CUDA version: if you have an NVIDA GPU **and** an AVX-supporterd CPU : a bigger version with GPU support (± 5Gb) but if you use this app only casually, you won’t notice a difference as compared to the CPU version. Note: this upgrade will install the CPU version. You’ll be able to change the version in the new config panel (see below) if you wish (you then have to force upgrade the app for this to take effect).

- A new environment file: all settings are now in ` __INSTALL_DIR__ /.env` so you don’t have to adapt `libretranslate.service` for each change anymore. All possible variables are written inside so you have more control of your installation.
- A new config\_panel (accessible at `yunohost/admin/#/apps/libretranslate/_core/`) where you can easily change some settings (such as which language to install) without going to the CLI.

❗ Unfortunately, you’ll have to redownload all the models you need (but now you can do this via the webadmin). Only `en` and `fr` will be available. ❗

API-keys are normally kept after this upgrade if their database is located in ` __INSTALL_DIR__ /db/`(usually api\_keys.db).

I hope you’ll enjoy it!

Have a nice day.

---

<div class="post-metadata">

### Author: ![petrus](https://forum.yunohost.org/user_avatar/forum.yunohost.org/petrus/32/407_2.png) [@petrus](https://forum.yunohost.org/u/petrus)
#### Post date: [July 21, 2025, 10:15am UTC](https://forum.yunohost.org/t/libretranslate-free-and-open-source-machine-translation-api/37753/3 "2025-07-21T10:15:18Z")

</div>

Tried now on a Proxmox Yunohost virtual machine  
Fresh install with settings :

- subdomain (domain owned and working ok)
- visitors
- en,fr
- cpu

I’ve not set any API key… ? (do I really need 1 ? I’ve not really understood if it’s needed or not… Looks like not)  
Going on this subdomain is working nice, tried some french sentences to english is ok.

Thx for this 😉

EDIT : on the top bar “[https://docs/](https://docs/)” is the link of “Documentation de l’API”, not good 😥

---

<div class="post-metadata">

### Author: ![Tho](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tho/32/3667_2.png) [@Tho](https://forum.yunohost.org/u/Tho)
#### Post date: [July 27, 2025, 3:26pm UTC](https://forum.yunohost.org/t/libretranslate-free-and-open-source-machine-translation-api/37753/4 "2025-07-27T15:26:54Z")

</div>

Thanks a lot for your input!  
An api key is not needed but you can create one to use your instance in an Android app for example, or to limit the use of your instance but forcing everyone to have an api key to be able to translate their content on your instance.

I’ve just fixed the link to the api docs 😉

---

<div class="post-metadata">

### Author: ![petrus](https://forum.yunohost.org/user_avatar/forum.yunohost.org/petrus/32/407_2.png) [@petrus](https://forum.yunohost.org/u/petrus)
#### Post date: [February 11, 2026, 2:09pm UTC](https://forum.yunohost.org/t/libretranslate-free-and-open-source-machine-translation-api/37753/5 "2026-02-11T14:09:13Z")

</div>

Hey!

Update to 1.8.4~ynh1 gives 502 Bad Gateway, and 1 CPU core 100% full time.

1. Uninstall (+delete datas stored) then reinstall current version : same problem.
2. Uninstall (+delete datas stored), then restore previous backup of 1.8.3~ynh1, 502 Bad gateway. Service is not starting.
3. Same, then restore an old backup 1.7.2~ynh2. It’s ok, running fine.

Good luck !  
Thx in advance 🙂

---

<div class="post-metadata">

### Author: ![Tho](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tho/32/3667_2.png) [@Tho](https://forum.yunohost.org/u/Tho)
#### Post date: [February 11, 2026, 2:22pm UTC](https://forum.yunohost.org/t/libretranslate-free-and-open-source-machine-translation-api/37753/6 "2026-02-11T14:22:39Z")

</div>

Did you try with 1.9.0 (from today)?

It removes torch dependency which could be the culprit.

If it doesn’t work, could you please share the service’s logs?

---

<div class="post-metadata">

### Author: ![petrus](https://forum.yunohost.org/user_avatar/forum.yunohost.org/petrus/32/407_2.png) [@petrus](https://forum.yunohost.org/u/petrus)
#### Post date: [February 11, 2026, 2:27pm UTC](https://forum.yunohost.org/t/libretranslate-free-and-open-source-machine-translation-api/37753/7 "2026-02-11T14:27:00Z")

</div>

Upgrade to 1.9.0 is fine 🙂 Thx !
