Free and Open Source Machine Translation API. 100% self-hosted, offline capable and easy to setup.

Overview

LibreTranslate

Try it online! | API Docs | Community Forum

Python versions Run tests Publish to DockerHub Publish to GitHub Container Registry Awesome Humane Tech

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.

image

Try it online! | API Docs

API Examples

Plain Text

Request:

const res = await fetch("https://libretranslate.com/translate", {
	method: "POST",
	body: JSON.stringify({
		q: "Hello!",
		source: "en",
		target: "es"
	}),
	headers: { "Content-Type": "application/json" }
});

console.log(await res.json());

Response:

{
    "translatedText": "¡Hola!"
}

HTML (beta)

Request:

Hello!

', source: "en", target: "es", format: "html" }), headers: { "Content-Type": "application/json" } }); console.log(await res.json()); ">
const res = await fetch("https://libretranslate.com/translate", {
	method: "POST",
	body: JSON.stringify({
		q: '

Hello!

'
, source: "en", target: "es", format: "html" }), headers: { "Content-Type": "application/json" } }); console.log(await res.json());

Response:

¡Hola!

" } ">
{
    "translatedText": "

¡Hola!

"
}

Install and Run

You can run your own API server in just a few lines of setup!

Make sure you have installed Python (3.8 or higher is recommended), then simply issue:

pip install libretranslate
libretranslate [args]

Then open a web browser to http://localhost:5000

If you're on Windows, we recommend you Run with Docker instead.

On Ubuntu 20.04 you can also use the install script available on https://github.com/argosopentech/LibreTranslate-init

Build and Run

If you want to make some changes to the code, you can build from source, and run the API:

git clone https://github.com/uav4geo/LibreTranslate
cd LibreTranslate
pip install -e .
libretranslate [args]

# Or
python main.py [args]

Then open a web browser to http://localhost:5000

Run with Docker

Simply run:

docker run -ti --rm -p 5000:5000 libretranslate/libretranslate

Then open a web browser to http://localhost:5000

Build with Docker

docker build [--build-arg with_models=true] -t libretranslate .

If you want to run the Docker image in a complete offline environment, you need to add the --build-arg with_models=true parameter. Then the language models get downloaded during the build process of the image. Otherwise these models get downloaded on the first run of the image/container.

Run the built image:

docker run -it -p 5000:5000 libretranslate [args]

Or build and run using docker-compose:

docker-compose up -d --build

Feel free to change the docker-compose.yml file to adapt it to your deployment needs, or use an extra docker-compose.prod.yml file for your deployment configuration.

Arguments

Argument Description Default Env. name
--host Set host to bind the server to 127.0.0.1 LT_HOST
--port Set port to bind the server to 5000 LT_PORT
--char-limit Set character limit No limit LT_CHAR_LIMIT
--req-limit Set maximum number of requests per minute per client No limit LT_REQ_LIMIT
--batch-limit Set maximum number of texts to translate in a batch request No limit LT_BATCH_LIMIT
--ga-id Enable Google Analytics on the API client page by providing an ID No tracking LT_GA_ID
--debug Enable debug environment False LT_DEBUG
--ssl Whether to enable SSL False LT_SSL
--frontend-language-source Set frontend default language - source en LT_FRONTEND_LANGUAGE_SOURCE
--frontend-language-target Set frontend default language - target es LT_FRONTEND_LANGUAGE_TARGET
--frontend-timeout Set frontend translation timeout 500 LT_FRONTEND_TIMEOUT
--api-keys Enable API keys database for per-user rate limits lookup Don't use API keys LT_API_KEYS
--require-api-key-origin Require use of an API key for programmatic access to the API, unless the request origin matches this domain No restrictions on domain origin LT_REQUIRE_API_KEY_ORIGIN
--load-only Set available languages all from argostranslate LT_LOAD_ONLY
--suggestions Allow user suggestions false LT_SUGGESTIONS
--disable-files-translation Disable files translation false LT_DISABLE_FILES_TRANSLATION

Note that each argument has an equivalent env. variable that can be used instead. The env. variables overwrite the default values but have lower priority than the command aguments. They are particularly useful if used with Docker. Their name is the upper-snake case of the command arguments' ones, with a LT prefix.

Run with Gunicorn

pip install gunicorn
gunicorn --bind 0.0.0.0:5000 'wsgi:app'

You can pass application arguments directly to Gunicorn via:

gunicorn --bind 0.0.0.0:5000 'wsgi:app(api_keys=True)'

Manage API Keys

LibreTranslate supports per-user limit quotas, e.g. you can issue API keys to users so that they can enjoy higher requests limits per minute (if you also set --req-limit). By default all users are rate-limited based on --req-limit, but passing an optional api_key parameter to the REST endpoints allows a user to enjoy higher request limits.

To use API keys simply start LibreTranslate with the --api-keys option.

Add New Keys

To issue a new API key with 120 requests per minute limits:

ltmanage keys add 120

Remove Keys

ltmanage keys remove <api-key>

View Keys

ltmanage keys

Language Bindings

You can use the LibreTranslate API using the following bindings:

More coming soon!

Discourse Plugin

You can use this discourse translator plugin to translate Discourse topics. To install it simply modify /var/discourse/containers/app.yml:

## Plugins go here
## see https://meta.discourse.org/t/19157 for details
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/LibreTranslate/discourse-translator
	  ...

Then issue ./launcher rebuild app. From the Discourse's admin panel then select "LibreTranslate" as a translation provider and set the relevant endpoint configurations.

Mobile Apps

Web browser

Mirrors

This is a list of online resources that serve the LibreTranslate API. Some require an API key. If you want to add a new URL, please open a pull request.

URL API Key Required Contact Cost
libretranslate.com ✔️ UAV4GEO $9 / month, 80 requests / minute limit
libretranslate.de - -
translate.mentality.rip - -
translate.astian.org - -
translate.argosopentech.com - -

Roadmap

Help us by opening a pull request!

FAQ

Can I use your API server at libretranslate.com for my application in production?

The API on libretranslate.com should be used for testing, personal or infrequent use. If you're going to run an application in production, please get in touch to get an API key or discuss other options.

Can I use this behind a reverse proxy, like Apache2?

Yes, here is an example Apache2 config that redirects a subdomain (with HTTPS certificate) to LibreTranslate running on a docker at localhost.

sudo docker run -ti --rm -p 127.0.0.1:5000:5000 libretranslate/libretranslate

You can remove 127.0.0.1 on the above command if you want to be able to access it from domain.tld:5000, in addition to subdomain.domain.tld (this can be helpful to determine if there is an issue with Apache2 or the docker container).

Add --restart unless-stopped if you want this docker to start on boot, unless manually stopped.

Apache config

Replace [YOUR_DOMAIN] with your full domain; for example, translate.domain.tld or libretranslate.domain.tld.

Remove # on the ErrorLog and CustomLog lines to log requests.

#Libretranslate

#Redirect http to https
<VirtualHost *:80>
    ServerName http://[YOUR_DOMAIN]
    Redirect / https://[YOUR_DOMAIN]
    # ErrorLog ${APACHE_LOG_DIR}/error.log
    # CustomLog ${APACHE_LOG_DIR}/tr-access.log combined
 VirtualHost>

#https
<VirtualHost *:443>
    ServerName https://[YOUR_DOMAIN]
    
    ProxyPass / http://127.0.0.1:5000/
    ProxyPassReverse / http://127.0.0.1:5000/

    SSLEngine on
    SSLCertificateFile /etc/letsencrypt/live/[YOUR_DOMAIN]/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/[YOUR_DOMAIN]/privkey.pem
    SSLCertificateChainFile /etc/letsencrypt/live/[YOUR_DOMAIN]/fullchain.pem
    
    # ErrorLog ${APACHE_LOG_DIR}/tr-error.log
    # CustomLog ${APACHE_LOG_DIR}/tr-access.log combined
VirtualHost>

Add this to an existing site config, or a new file in /etc/apache2/sites-available/new-site.conf and run sudo a2ensite new-site.conf.

To get a HTTPS subdomain certificate, install certbot (snap), run sudo certbot certonly --manual --preferred-challenges dns and enter your information (with subdomain.domain.tld as the domain). Add a DNS TXT record with your domain registrar when asked. This will save your certificate and key to /etc/letsencrypt/live/{subdomain.domain.tld}/. Alternatively, comment the SSL lines out if you don't want to use HTTPS.

Credits

This work is largely possible thanks to Argos Translate, which powers the translation engine.

License

GNU Affero General Public License v3

Comments
  • Packaging for pip-based distribution

    Packaging for pip-based distribution

    Hello, I was wondering if we could expect the project to have, as goal, pip-based releases (e.g. wheel builds or tgz archives) ?

    This would greatly simplify setup and updates, including dependency management.

    enhancement help wanted 
    opened by Arteneko 25
  • Polyglot models download broken (gives a 404 error)

    Polyglot models download broken (gives a 404 error)

    I'm running LibreTranslate from the docker image. Basically it works well, translating from languages to German. But as soon as I switch to translate from German to a different language, I'm getting a 404 error.

    Example:

    Test from English to German:

    image

    When I now just click on the arrow to swap languages, I'm getting this:

    image

    The same appears when I manually select "German" on the left and any other language on the right. As soon as I start typing in the left field, the error appears.

    help wanted possible bug 
    opened by jacotec 24
  • Cannot translate text: 'NoneType' object has no attribute 'translate'

    Cannot translate text: 'NoneType' object has no attribute 'translate'

    On the website (libretranslate.com) I ran into this error when trying to translate Norwegian text with Auto Detect (Experimental) enabled.

    It results in a 500 (internal server error) with the following message:

    Cannot translate text: 'NoneType' object has no attribute 'translate'

    ~~I'm going to assume that the error stems from the auto-detection picking out a language which LibreTranslate doesn't support, but have not verified if this is the case yet. (Just a hypothesis.)~~

    I realize now that LibreTranslate doesn't support Norwegian, but this should still probably be handled better regardless.

    bug good first issue help wanted 
    opened by SethFalco 17
  • I can't seem to install the models, I suspect some kind of timeout.

    I can't seem to install the models, I suspect some kind of timeout.

    running ./LibreTranslate/install_models.py i get

    Updating language models
    Found 54 models
    Downloading Arabic → English (1.0) ...
    Traceback (most recent call last):
      File "/home/libretranslate/./LibreTranslate/install_models.py", line 6, in <module>
        check_and_install_models(force=True)
      File "/home/libretranslate/LibreTranslate/app/init.py", line 54, in check_and_install_models
        download_path = available_package.download()
      File "/home/libretranslate/.local/lib/python3.9/site-packages/argostranslate/package.py", line 198, in download
        data = response.read()
      File "/usr/lib/python3.9/http/client.py", line 476, in read
        s = self._safe_read(self.length)
      File "/usr/lib/python3.9/http/client.py", line 628, in _safe_read
        raise IncompleteRead(b''.join(s), amt)
    http.client.IncompleteRead: IncompleteRead(50763840 bytes read, 31105830 more expected)
    

    if this is timeout then how would i go about increasing said timeout?

    opened by Tarcaxoxide 17
  • en as frontend source language is not supported

    en as frontend source language is not supported

    [root@DESKTOP-B0B9UFO code]# docker run -ti --rm -p 5000:5000 libretranslate/libretranslate Updating language models ERROR:root:(RemoteDisconnected('Remote end closed connection without response'),) Cannot update models (normal if you're offline): Local package index not found, use package.update_package_index() to load it INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts INFO:apscheduler.scheduler:Added job "remove_translated_files" to job store "default" INFO:apscheduler.scheduler:Scheduler started Traceback (most recent call last): File "/usr/local/bin/libretranslate", line 8, in sys.exit(main()) File "/usr/local/lib/python3.8/site-packages/app/main.py", line 113, in main app = create_app(args) File "/usr/local/lib/python3.8/site-packages/app/app.py", line 135, in create_app raise AttributeError( AttributeError: en as frontend source language is not supported. INFO:apscheduler.scheduler:Scheduler has been shut down

    help wanted possible bug 
    opened by lizongshen 16
  • ERROR:  ctranslate2==1.17.1 (from argostranslate)

    ERROR: ctranslate2==1.17.1 (from argostranslate)

    Hi,

    Installation fails.

    Issues with ctranslate2==1.17.1

    ERROR: Could not find a version that satisfies the requirement ctranslate2==1.17.1 (from argostranslate) (from versions: none)
    ERROR: No matching distribution found for ctranslate2==1.17.1
    

    Earlier, I got:

    ERROR: Cannot install argostranslate==1.0, argostranslate==1.0.3, argostranslate==1.0.5, argostranslate==1.0.6, argostranslate==1.1.0, argostranslate==1.1.1, argostranslate==1.1.2, argostranslate==1.1.3, argostranslate==1.1.4, argostranslate==1.2.0, argostranslate==1.3.0, argostranslate==1.4.0, argostranslate==1.5.0, argostranslate==1.5.1 and argostranslate==1.5.2 because these package versions have conflicting dependencies.
    
    The conflict is caused by:
        argostranslate 1.5.2 depends on ctranslate2==2.4.0
        argostranslate 1.5.1 depends on ctranslate2==2.1.0
        argostranslate 1.5.0 depends on ctranslate2==2.1.0
        argostranslate 1.4.0 depends on ctranslate2==1.20.1
        argostranslate 1.3.0 depends on ctranslate2==1.17.1
        argostranslate 1.2.0 depends on ctranslate2==1.17.1
        argostranslate 1.1.4 depends on ctranslate2==1.17.1
        argostranslate 1.1.3 depends on ctranslate2==1.17.1
        argostranslate 1.1.2 depends on ctranslate2==1.17.1
        argostranslate 1.1.1 depends on ctranslate2==1.17.1
        argostranslate 1.1.0 depends on ctranslate2==1.17.1
        argostranslate 1.0.6 depends on ctranslate2==1.17.1
        argostranslate 1.0.5 depends on ctranslate2==1.14.0
        argostranslate 1.0.3 depends on ctranslate2==1.14.0
        argostranslate 1.0 depends on ctranslate2
    
    To fix this you could try to:
    1. loosen the range of package versions you've specified
    2. remove package versions to allow pip attempt to solve the dependency conflict
    
    ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
    

    Already executed pip install --upgrade pip, yet no go! Tried also with pip install argostranslate==1.5.2 ctranslate2==2.4.0 libretranslate with same error. Any inputs?

    opened by zenny 14
  • AttributeError: es as frontend target language is not supported.

    AttributeError: es as frontend target language is not supported.

    matt@matt:~/clean/LibreTranslate$ libretranslate 
    Traceback (most recent call last):
      File "/home/matt/.local/bin/libretranslate", line 8, in <module>
        sys.exit(main())
      File "/home/matt/.local/lib/python3.8/site-packages/app/main.py", line 35, in main
        app = create_app(args)
      File "/home/matt/.local/lib/python3.8/site-packages/app/app.py", line 77, in create_app
        raise AttributeError(f"{args.frontend_language_target} as frontend target language is not supported.")
    

    Only happened once I started editing source to try to add --load-only. I can't get this to go away even after I pip3 remove libretranslate.

    opened by sigaloid 14
  • The docker image on Docker Hub for version 1.2.7 (latest) has broken auto language detect

    The docker image on Docker Hub for version 1.2.7 (latest) has broken auto language detect

    To replicate

    1. Create this docker-compose file:
    version: "3"
    
    services:
      libretranslate:
        image: libretranslate/libretranslate:latest
        container_name: libretranslate
        stdin_open: true
        tty: true
        restart: unless-stopped
        ports:
          - 5000:5000
    
    1. Start with: "docker-compose up -d"

    2. Then run this: curl -X POST -H "Content-Type: application/json" -d '{"q": "Ciao!", "source": "auto", "target": "en"}' localhost:5000/translate

    The language auto detect will fail and no translation is made.

    bug help wanted 
    opened by MatsBjerin 11
  • Ability to provide already downloaded language models instead of slowly downloading them at first run

    Ability to provide already downloaded language models instead of slowly downloading them at first run

    It would be nice if I can specify a directory with an --argument where already the downloaded files are in. I noticed that the initial download at the first run is very slow (often below 1 Mbit/s) and it needs to do it on every installation again. To reduce the load and traffic on the already slow servers it would be nice if just one download would be necessary instead of one on every deploy.

    opened by f2k1de 10
  • Unable to download models when using docker

    Unable to download models when using docker

    Found 56 models Downloading Arabic → English (1.0) ... (URLError(ConnectionRefusedError(111, 'Connection refused')),) (URLError(ConnectionRefusedError(111, 'Connection refused')),) (URLError(ConnectionRefusedError(111, 'Connection refused')),)

    question 
    opened by alpap 10
  • app.language has no attribute languages

    app.language has no attribute languages

    Hi! I'm launching the app with these options: --load-only es,en,fr --disable-web-ui but the models don't update: I get the following message:

    Cannot update models (normal if you're offline): module 'app.language' has no attribute 'languages'
    

    As the message says, app.language has no attribute languages, but still it is accessed in init.py, lines 58 and 68.

    I haven't found any other place where app.language.languages is used, via grep -nr "app.language.languages" and grep -nr "from app.language" so I guessed that maybe those lines were meant to access app.language.__languages. However changing those lines to use app.language.__languages only changes the error to:

    Cannot update models (normal if you're offline): 'NoneType' object is not iterable
    

    I understand that this happens because the line 58, that would assign app.language.__languages a value, is never executed and line 68 tries to iterate through its default value: None.

    Some solutions I came up with:

    • Change lines 58 and 68 to use app.language.__languages instead of app.language.languages and set the default value of app.language.__languages to [] instead of None. I don't think this is a good idea, though.
    • Just add new app.language.languages variable with default value []. Short solution, not sure if the best.

    What do you think? I'm missing something? If you tell me one of those is OK I'll open a PR. Thank you

    bug help wanted 
    opened by MiguelMJ 10
  • Translate 1 word to Indonesia resulting in

    Translate 1 word to Indonesia resulting in "login" or "sitemap"

    As the title suggest, translating single word to Indonesia resulting in "login" or "sitemap".

    Example for "login": https://libretranslate.com/?source=en&target=id&q=hello https://libretranslate.com/?source=en&target=id&q=dust

    Example for "sitemap": https://libretranslate.com/?source=en&target=id&q=here https://libretranslate.com/?source=en&target=id&q=done

    enhancement 
    opened by wiryadev 0
  • PermissionError: [Errno 13] Permission denied

    PermissionError: [Errno 13] Permission denied

    Hey, i just tried to set this up and i keep getting these error messages:

    Traceback (most recent call last): File "./venv/bin/libretranslate", line 33, in sys.exit(load_entry_point('libretranslate==1.3.8', 'console_scripts', 'libretranslate')()) File "./venv/bin/libretranslate", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/local/lib/python3.8/importlib/metadata.py", line 77, in load module = import_module(match.group('module')) File "/usr/local/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 961, in _find_and_load_unlocked File "", line 219, in _call_with_frames_removed File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 843, in exec_module File "", line 219, in _call_with_frames_removed File "/app/venv/lib/python3.8/site-packages/libretranslate/init.py", line 2, in from .main import main File "/app/venv/lib/python3.8/site-packages/libretranslate/main.py", line 5, in from libretranslate.app import create_app File "/app/venv/lib/python3.8/site-packages/libretranslate/app.py", line 9, in import argostranslatefiles File "/app/venv/lib/python3.8/site-packages/argostranslatefiles/init.py", line 1, in from argostranslatefiles.argostranslatefiles import * File "/app/venv/lib/python3.8/site-packages/argostranslatefiles/argostranslatefiles.py", line 1, in from argostranslate.translate import ITranslation File "/app/venv/lib/python3.8/site-packages/argostranslate/translate.py", line 8, in from argostranslate import package, settings, sbd, apis, fewshot File "/app/venv/lib/python3.8/site-packages/argostranslate/package.py", line 11, in from argostranslate import networking File "/app/venv/lib/python3.8/site-packages/argostranslate/networking.py", line 6, in from argostranslate.utils import info, error File "/app/venv/lib/python3.8/site-packages/argostranslate/utils.py", line 4, in from argostranslate import settings File "/app/venv/lib/python3.8/site-packages/argostranslate/settings.py", line 22, in os.makedirs(data_dir, exist_ok=True) File "/usr/local/lib/python3.8/os.py", line 223, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: '/home/libretranslate/.local/share/argos-translate'

    possible bug 
    opened by Joly0 2
  • Error while downloading language models

    Error while downloading language models

    When I run the ./install_models.py script it downloads some models but crashes after. Also I am using a raspberry pi (RPI OS)

    Updating language models
    Found 58 models
    Downloading Arabic → English (1.0) ...
    Downloading Azerbaijani → English (1.5) ...
    Downloading Catalan → English (1.7) ...
    Downloading Chinese → English (1.7) ...
    Downloading Czech → English (1.5) ...
    Downloading Danish → English (1.3) ...
    Downloading Dutch → English (1.4) ...
    Downloading English → Arabic (1.0) ...
    Downloading English → Azerbaijani (1.5) ...
    Downloading English → Catalan (1.7) ...
    Downloading English → Chinese (1.7) ...
    Downloading English → Czech (1.5) ...
    Downloading English → Danish (1.3) ...
    Downloading English → Dutch (1.4) ...
    Downloading English → Esperanto (1.5) ...
    Downloading English → Finnish (1.5) ...
    Downloading English → French (1.0) ...
    Downloading English → German (1.0) ...
    Downloading English → Greek (1.5) ...
    Downloading English → Hebrew (1.5) ...
    Downloading English → Hindi (1.1) ...
    Downloading English → Hungarian (1.5) ...
    Downloading English → Indonesian (1.2) ...
    Downloading English → Irish (1.1) ...
    Downloading English → Italian (1.0) ...
    Downloading English → Japanese (1.1) ...
    Traceback (most recent call last):
      File "/home/vaggos/vaggos_hdd/LibreTranslate/./install_models.py", line 12, in <module>
        check_and_install_models(force=True, load_only_lang_codes=lang_codes)
      File "/home/vaggos/vaggos_hdd/LibreTranslate/app/init.py", line 53, in check_and_install_models
        package.install_from_path(download_path)
      File "/home/vaggos/.local/lib/python3.9/site-packages/argostranslate/package.py", line 183, in install_from_path
        raise Exception("Not a valid Argos Model (must be a zip archive)")
    Exception: Not a valid Argos Model (must be a zip archive)
    
    possible bug 
    opened by vaggos-thanos 0
  • Docker image size has doubled after v1.3.0

    Docker image size has doubled after v1.3.0

    Hello team,

    I've just spotted that the image size of the Docker image has doubled after v.1.3.0:

    • v.1.3.0: 872 MB
    • v.1.3.1: 1.8 GB

    Are you aware of that resp. was that on purpose?

    enhancement help wanted 
    opened by thomas-mc-work 3
  • Erro occured while translating the japanese to english

    Erro occured while translating the japanese to english

    1)I'm getting ** Cannot translate text: string index out of range** error while translating from japanese to english for some type of text which is in japanese and Does any one know about and came across this error?. 2)Also if the text of japanese is in english lets SAY 安定報 it throws the same error.

    Please help.

    image

    Thanks in advance.

    bug help wanted 
    opened by ShanmukhaSridhar 1
Releases(v1.3.7)
  • v1.3.7(Dec 30, 2022)

    What's Changed

    • app->libretranslate; mv tests/ inside libretranslate/ by @reynoldsnlp in https://github.com/LibreTranslate/LibreTranslate/pull/372

    New Contributors

    • @reynoldsnlp made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/372

    Full Changelog: https://github.com/LibreTranslate/LibreTranslate/compare/v1.3.6...v1.3.7

    Source code(tar.gz)
    Source code(zip)
  • v1.3.6(Dec 27, 2022)

  • v1.3.5(Dec 26, 2022)

    What's Changed

    • Prometheus Support by @pierotofy in https://github.com/LibreTranslate/LibreTranslate/pull/368

    Full Changelog: https://github.com/LibreTranslate/LibreTranslate/compare/v1.3.4...v1.3.5

    Source code(tar.gz)
    Source code(zip)
  • v1.3.4(Dec 20, 2022)

    What's Changed

    • add java library by @suuft in https://github.com/LibreTranslate/LibreTranslate/pull/364
    • Run helper script, misc improvements by @pierotofy in https://github.com/LibreTranslate/LibreTranslate/pull/366

    New Contributors

    • @suuft made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/364

    Full Changelog: https://github.com/LibreTranslate/LibreTranslate/compare/v1.3.3...v1.3.4

    Source code(tar.gz)
    Source code(zip)
  • v1.3.3(Dec 11, 2022)

    What's Changed

    • Miscellaneous Fixes and Improvements by @pierotofy in https://github.com/LibreTranslate/LibreTranslate/pull/358
    • Apple M1 support, ARM docker images by @pierotofy in https://github.com/LibreTranslate/LibreTranslate/pull/360

    Full Changelog: https://github.com/LibreTranslate/LibreTranslate/compare/v1.3.2...v1.3.3

    Source code(tar.gz)
    Source code(zip)
  • v1.3.2(Nov 16, 2022)

    What's Changed

    • Add NGINX to reverse proxy section by @Dafnik in https://github.com/LibreTranslate/LibreTranslate/pull/339
    • Fix README typo by @PJ-Finlay in https://github.com/LibreTranslate/LibreTranslate/pull/343
    • Remove Polyglot transliteration library by @argosopentech in https://github.com/LibreTranslate/LibreTranslate/pull/345

    Full Changelog: https://github.com/LibreTranslate/LibreTranslate/compare/v1.3.1...v1.3.2

    Source code(tar.gz)
    Source code(zip)
  • v1.3.1(Nov 10, 2022)

    What's Changed

    • Support for persistent request limit storage via redis by @pierotofy in https://github.com/LibreTranslate/LibreTranslate/pull/330
    • Add Swift binding to README.md by @wacumov in https://github.com/LibreTranslate/LibreTranslate/pull/333
    • style: fix drop down arrow on dark mode by @SethFalco in https://github.com/LibreTranslate/LibreTranslate/pull/336
    • Added reverse proxy example for Caddy by @Kuchenmampfer in https://github.com/LibreTranslate/LibreTranslate/pull/337

    New Contributors

    • @wacumov made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/333
    • @Kuchenmampfer made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/337

    Full Changelog: https://github.com/LibreTranslate/LibreTranslate/compare/v1.3.0...v1.3.1

    Source code(tar.gz)
    Source code(zip)
  • v1.3.0(Oct 5, 2022)

    What's Changed

    • Upgrade argos-translate-files by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/266
    • improve translation of punctuation by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/268
    • Add lt.vern.cc instance to instance list by @gi-yt in https://github.com/LibreTranslate/LibreTranslate/pull/273
    • Add CUDA docker version by @jonwiggins in https://github.com/LibreTranslate/LibreTranslate/pull/275
    • fix: fix race condition in settings and langs by @SethFalco in https://github.com/LibreTranslate/LibreTranslate/pull/279
    • Expand CUDA Support to more GPUs by @jonwiggins in https://github.com/LibreTranslate/LibreTranslate/pull/283
    • Add --api-keys-db-path argument by @Minosity-VR in https://github.com/LibreTranslate/LibreTranslate/pull/285
    • Remove libretranslate.pussthecat.org by @TheFrenchGhosty in https://github.com/LibreTranslate/LibreTranslate/pull/286
    • Fix Security Vulnerabilities by @jonwiggins in https://github.com/LibreTranslate/LibreTranslate/pull/287
    • Update dark-theme.css by @ecxod in https://github.com/LibreTranslate/LibreTranslate/pull/291
    • brightened the Realm of Darkness by @ecxod in https://github.com/LibreTranslate/LibreTranslate/pull/293
    • Preloading stuff by @ecxod in https://github.com/LibreTranslate/LibreTranslate/pull/294
    • Add ~vern's onion/i2p instances of libretranslate by @gi-yt in https://github.com/LibreTranslate/LibreTranslate/pull/300
    • Make switch-language-btn white in Dark Theme by @youngtrashbag in https://github.com/LibreTranslate/LibreTranslate/pull/304
    • Update README.md by @viktorkalyniuk in https://github.com/LibreTranslate/LibreTranslate/pull/311
    • Non-root User for Dockerfile and Multi-Stage Build by @eugene-davis in https://github.com/LibreTranslate/LibreTranslate/pull/312
    • remove use of deprecated method by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/313
    • upgrade requirements by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/318
    • move improve_translation in language.py and use it in transliteration by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/317
    • Fix typo in README.md by @kianmeng in https://github.com/LibreTranslate/LibreTranslate/pull/320
    • Show detected Language (#314) by @AnTheMaker in https://github.com/LibreTranslate/LibreTranslate/pull/323
    • better display of detected language by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/324
    • run translation if text is in url by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/325
    • fix swap lang by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/326
    • auto focus in input textarea by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/327
    • Add shell binding to README by @Hayao0819 in https://github.com/LibreTranslate/LibreTranslate/pull/329

    New Contributors

    • @gi-yt made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/273
    • @jonwiggins made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/275
    • @Minosity-VR made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/285
    • @ecxod made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/291
    • @youngtrashbag made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/304
    • @viktorkalyniuk made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/311
    • @eugene-davis made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/312
    • @kianmeng made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/320
    • @AnTheMaker made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/323
    • @Hayao0819 made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/329

    Full Changelog: https://github.com/LibreTranslate/LibreTranslate/compare/v1.2.9...v1.2.10

    Source code(tar.gz)
    Source code(zip)
  • v1.2.9(May 19, 2022)

    What's Changed

    • suggestions: Abort when missing parameters by @fushinari in https://github.com/LibreTranslate/LibreTranslate/pull/216
    • Fix language detection error by @ZenulAbidin in https://github.com/LibreTranslate/LibreTranslate/pull/219
    • Add the PussTheCat.org instance by @TheFrenchGhosty in https://github.com/LibreTranslate/LibreTranslate/pull/220
    • Improve links in mobile app documentation by @PJ-Finlay in https://github.com/LibreTranslate/LibreTranslate/pull/221
    • Edit README documentation by @PJ-Finlay in https://github.com/LibreTranslate/LibreTranslate/pull/222
    • Fix broken link on README by @ewreurei in https://github.com/LibreTranslate/LibreTranslate/pull/223
    • include language detected, confidence for /translate calls with auto detect by @K-Francis-H in https://github.com/LibreTranslate/LibreTranslate/pull/229
    • Upgrade to flask 2 by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/232
    • Set jinja2 version by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/231
    • Improve container publishing workflow by @feliskio in https://github.com/LibreTranslate/LibreTranslate/pull/233
    • Fix Docker build failing due to username casing by @feliskio in https://github.com/LibreTranslate/LibreTranslate/pull/234
    • Added models include option in docker build by @setokesan in https://github.com/LibreTranslate/LibreTranslate/pull/235
    • Focus textarea after delete text by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/238
    • Add PHP bindings by @PJ-Finlay in https://github.com/LibreTranslate/LibreTranslate/pull/239
    • Run test for pull requests, add some functional tests by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/237
    • Upgrade requirements by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/241
    • update deprecated parameter name by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/242
    • Add translate.fortytwo-it.com mirror by @PJ-Finlay in https://github.com/LibreTranslate/LibreTranslate/pull/243
    • Remove instances not working by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/244
    • Add .gitattributes by @DmitrySandalov in https://github.com/LibreTranslate/LibreTranslate/pull/246
    • Update README.md by @nuttolum in https://github.com/LibreTranslate/LibreTranslate/pull/248
    • Readme api examples, mirror update by @K-Francis-H in https://github.com/LibreTranslate/LibreTranslate/pull/249
    • Fix badges in the readme by @vemonet in https://github.com/LibreTranslate/LibreTranslate/pull/250
    • Upgrade deprecated Argos Translate call by @PJ-Finlay in https://github.com/LibreTranslate/LibreTranslate/pull/252
    • upgrade requirements by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/253
    • add python 3.10 by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/254
    • improve translation formating by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/255
    • Revert "improve translation formating" by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/256
    • improve translation formating by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/257
    • Update README.md by @pingufreak in https://github.com/LibreTranslate/LibreTranslate/pull/258
    • Include dark-theme.css by @Anomalion in https://github.com/LibreTranslate/LibreTranslate/pull/261
    • Create dark-theme.css by @Anomalion in https://github.com/LibreTranslate/LibreTranslate/pull/260
    • Upgrade argostranslate by @dingedi in https://github.com/LibreTranslate/LibreTranslate/pull/263

    New Contributors

    • @ZenulAbidin made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/219
    • @TheFrenchGhosty made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/220
    • @ewreurei made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/223
    • @K-Francis-H made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/229
    • @feliskio made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/233
    • @setokesan made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/235
    • @DmitrySandalov made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/246
    • @nuttolum made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/248
    • @pingufreak made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/258
    • @Anomalion made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/261

    Full Changelog: https://github.com/LibreTranslate/LibreTranslate/compare/v1.2.7...v1.2.9

    Source code(tar.gz)
    Source code(zip)
  • v1.2.7(Feb 18, 2022)

  • v1.2.5(Sep 24, 2021)

  • v1.2.4(Sep 14, 2021)

  • v1.2.3(Apr 2, 2021)

  • v1.2.2(Mar 7, 2021)

  • v1.2.0(Feb 10, 2021)

  • v1.1.0(Jan 16, 2021)

  • v1.0.0(Dec 21, 2020)

Owner
Building the coolest translation software
null
Open-source offline translation library written in Python. Uses OpenNMT for translations

Open source neural machine translation in Python. Designed to be used either as a Python library or desktop application. Uses OpenNMT for translations and PyQt for GUI.

Argos Open Tech 1.6k Jan 1, 2023
Neural-Machine-Translation - Implementation of revolutionary machine translation models

Neural Machine Translation Framework: PyTorch Repository contaning my implementa

Utkarsh Jain 1 Feb 17, 2022
Open Source Neural Machine Translation in PyTorch

OpenNMT-py: Open-Source Neural Machine Translation OpenNMT-py is the PyTorch version of the OpenNMT project, an open-source (MIT) neural machine trans

OpenNMT 5.8k Jan 4, 2023
Open Source Neural Machine Translation in PyTorch

OpenNMT-py: Open-Source Neural Machine Translation OpenNMT-py is the PyTorch version of the OpenNMT project, an open-source (MIT) neural machine trans

OpenNMT 4.8k Feb 18, 2021
Training open neural machine translation models

Train Opus-MT models This package includes scripts for training NMT models using MarianNMT and OPUS data for OPUS-MT. More details are given in the Ma

Language Technology at the University of Helsinki 167 Jan 3, 2023
A script that automatically creates a branch name using google translation api and jira api

About google translation api와 jira api을 사용하여 자동으로 브랜치 이름을 만들어주는 스크립트 Setup 환경변수에 다음 3가지를 등록해야 한다. JIRA_USER : JIRA email (ex: [email protected]) JIR

hyunwook.kim 2 Dec 20, 2021
Jarvis is a simple Chatbot with a GUI capable of chatting and retrieving information and daily news from the internet for it's user.

J.A.R.V.I.S Kindly consider starring this repository if you like the program :-) What/Who is J.A.R.V.I.S? J.A.R.V.I.S is an chatbot written that is bu

Epicalable 50 Dec 31, 2022
This is an incredibly powerful calculator that is capable of many useful day-to-day functions.

Description ?? This is an incredibly powerful calculator that is capable of many useful day-to-day functions. Such functions include solving basic ari

Jordan Leich 37 Nov 19, 2022
ChessCoach is a neural network-based chess engine capable of natural-language commentary.

ChessCoach is a neural network-based chess engine capable of natural-language commentary.

Chris Butner 380 Dec 3, 2022
Translate U is capable of translating the text present in an image from one language to the other.

Translate U is capable of translating the text present in an image from one language to the other. The app uses OCR and Google translate to identify and translate across 80+ languages.

Neelanjan Manna 1 Dec 22, 2021
Implementation of the Hybrid Perception Block and Dual-Pruned Self-Attention block from the ITTR paper for Image to Image Translation using Transformers

ITTR - Pytorch Implementation of the Hybrid Perception Block (HPB) and Dual-Pruned Self-Attention (DPSA) block from the ITTR paper for Image to Image

Phil Wang 17 Dec 23, 2022
Hostapd-mac-tod-acl - Setup a hostapd AP with MAC ToD ACL

A brief explanation This script provides a quick way to setup a Time-of-day (Tod

null 2 Feb 3, 2022
Code for ACL 2022 main conference paper "STEMM: Self-learning with Speech-text Manifold Mixup for Speech Translation".

STEMM: Self-learning with Speech-Text Manifold Mixup for Speech Translation This is a PyTorch implementation for the ACL 2022 main conference paper ST

ICTNLP 29 Oct 16, 2022
💬 Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants

Rasa Open Source Rasa is an open source machine learning framework to automate text-and voice-based conversations. With Rasa, you can build contextual

Rasa 15.3k Dec 30, 2022
💬 Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants

Rasa Open Source Rasa is an open source machine learning framework to automate text-and voice-based conversations. With Rasa, you can build contextual

Rasa 15.3k Jan 3, 2023
💬 Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants

Rasa Open Source Rasa is an open source machine learning framework to automate text-and voice-based conversations. With Rasa, you can build contextual

Rasa 10.8k Feb 18, 2021
Universal End2End Training Platform, including pre-training, classification tasks, machine translation, and etc.

背景 安装教程 快速上手 (一)预训练模型 (二)机器翻译 (三)文本分类 TenTrans 进阶 1. 多语言机器翻译 2. 跨语言预训练 背景 TrenTrans是一个统一的端到端的多语言多任务预训练平台,支持多种预训练方式,以及序列生成和自然语言理解任务。 安装教程 git clone git

Tencent Minority-Mandarin Translation Team 42 Dec 20, 2022
null 1 Jun 28, 2022