argos-translate
Offline neural machine translation
TLDR
SYNOPSIS
argos-translate --from-lang code --to-lang code [text]argospm subcommand [options]
DESCRIPTION
argos-translate is an open-source, offline translation tool based on OpenNMT neural machine translation models. It runs entirely on the local machine, providing privacy-preserving translation without sending data to cloud services.Languages are provided as downloadable packages named translate-_from_\__to_ (e.g. `translate-en_es`). Packages are managed with the companion argospm command, which supports update, search, install, list, and remove subcommands.
PARAMETERS
-f code, --from-lang code
ISO 639-1 source language code (e.g. `en`, `es`, `fr`).-t code, --to-lang code
ISO 639-1 target language code.-h, --help
Show help and exit.
CAVEATS
Language packages must be installed via argospm before translation works. Translation quality varies by language pair and may not match commercial services. First-run translations are slower due to model loading; subsequent calls in the same process are faster. Large documents are memory- and CPU-intensive.
HISTORY
Argos Translate was created by Argos Open Tech as an open-source, privacy-respecting alternative to cloud translation services, using CTranslate2 and OpenNMT models. It also powers the self-hosted LibreTranslate web API.
SEE ALSO
trans(1)
