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

    [[email protected] 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.

    [email protected]:~/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
Smart discord chatbot integrated with Dialogflow to manage different classrooms and assist in teaching!

smart-school-chatbot Smart discord chatbot integrated with Dialogflow to interact with students naturally and manage different classes in a school. De

Tom Huynh 5 Oct 24, 2022
Repositório do trabalho de introdução a NLP

Trabalho da disciplina de BI NLP Repositório do trabalho da disciplina Introdução a Processamento de Linguagem Natural da pós BI-Master da PUC-RIO. Eq

Leonardo Lins 1 Jan 18, 2022
EdiTTS: Score-based Editing for Controllable Text-to-Speech

Official implementation of EdiTTS: Score-based Editing for Controllable Text-to-Speech

Neosapience 99 Jan 02, 2023
code for "AttentiveNAS Improving Neural Architecture Search via Attentive Sampling"

AttentiveNAS: Improving Neural Architecture Search via Attentive Sampling This repository contains PyTorch evaluation code, training code and pretrain

Facebook Research 94 Oct 26, 2022
Python wrapper for Stanford CoreNLP tools v3.4.1

Python interface to Stanford Core NLP tools v3.4.1 This is a Python wrapper for Stanford University's NLP group's Java-based CoreNLP tools. It can eit

Dustin Smith 610 Sep 07, 2022
ttslearn: Library for Pythonで学ぶ音声合成 (Text-to-speech with Python)

ttslearn: Library for Pythonで学ぶ音声合成 (Text-to-speech with Python) 日本語は以下に続きます (Japanese follows) English: This book is written in Japanese and primaril

Ryuichi Yamamoto 189 Dec 29, 2022
PyTorch Implementation of "Non-Autoregressive Neural Machine Translation"

Non-Autoregressive Transformer Code release for Non-Autoregressive Neural Machine Translation by Jiatao Gu, James Bradbury, Caiming Xiong, Victor O.K.

Salesforce 261 Nov 12, 2022
A simple command line tool for text to image generation, using OpenAI's CLIP and a BigGAN

artificial intelligence cosmic love and attention fire in the sky a pyramid made of ice a lonely house in the woods marriage in the mountains lantern

Phil Wang 2.3k Jan 01, 2023
🤕 spelling exceptions builder for lazy people

🤕 spelling exceptions builder for lazy people

Vlad Bokov 3 May 12, 2022
Code for "Finetuning Pretrained Transformers into Variational Autoencoders"

transformers-into-vaes Code for Finetuning Pretrained Transformers into Variational Autoencoders (our submission to NLP Insights Workshop 2021). Gathe

Seongmin Park 22 Nov 26, 2022
A repo for open resources & information for people to succeed in PhD in CS & career in AI / NLP

A repo for open resources & information for people to succeed in PhD in CS & career in AI / NLP

420 Dec 28, 2022
To create a deep learning model which can explain the content of an image in the form of speech through caption generation with attention mechanism on Flickr8K dataset.

To create a deep learning model which can explain the content of an image in the form of speech through caption generation with attention mechanism on Flickr8K dataset.

Ragesh Hajela 0 Feb 08, 2022
Analyse japanese ebooks using MeCab to determine the difficulty level for japanese learners

japanese-ebook-analysis This aim of this project is to make analysing the contents of a japanese ebook easy and streamline the process for non-technic

Christoffer Aakre 14 Jul 23, 2022
Chatbot for the Chatango messaging platform

BroiestBot The baddest bot in the game right now. Uses the ch.py framework for joining Chantango rooms and responding to user messages. Commands If a

Todd Birchard 3 Jan 17, 2022
Khandakar Muhtasim Ferdous Ruhan 1 Dec 30, 2021
📜 GPT-2 Rhyming Limerick and Haiku models using data augmentation

Well-formed Limericks and Haikus with GPT2 📜 GPT-2 Rhyming Limerick and Haiku models using data augmentation In collaboration with Matthew Korahais &

Bardia Shahrestani 2 May 26, 2022
A framework for training and evaluating AI models on a variety of openly available dialogue datasets.

ParlAI (pronounced “par-lay”) is a python framework for sharing, training and testing dialogue models, from open-domain chitchat, to task-oriented dia

Facebook Research 9.7k Jan 09, 2023
Predict an emoji that is associated with a text

Sentiment Analysis Sentiment analysis in computational linguistics is a general term for techniques that quantify sentiment or mood in a text. Can you

Tetsumichi(Telly) Umada 30 Sep 07, 2022
Code for EmBERT, a transformer model for embodied, language-guided visual task completion.

Code for EmBERT, a transformer model for embodied, language-guided visual task completion.

41 Jan 03, 2023