Add offline translation to a Python app without sending user text to an external service.
Translate documents from the command line without an internet connection.
Run a self-hosted translation HTTP API using LibreTranslate built on top of Argos Translate.
Translate between two languages without a direct model by routing through English as a bridge.
Requires downloading separate language model packages for each translation pair you want to use before translating offline.
Argos Translate is an open-source translation library that works entirely offline. Unlike translation services that send your text to a remote server, Argos Translate runs translation models directly on your own computer. You download language packages for the pairs you need, and all processing happens locally from that point on. It supports a wide range of languages including Arabic, Chinese, French, German, Japanese, Russian, Spanish, and dozens more. You can use it in three different ways: as a Python library you call from your own code, as a command-line tool for quick translations in a terminal, or through a graphical desktop interface. There is also LibreTranslate, a separate web application and API built on top of Argos Translate, which gives you a browser interface and an HTTP endpoint similar to commercial translation APIs. One practical feature is automatic pivot translation. If you have installed an English-to-French package and a Spanish-to-English package, Argos Translate can translate Spanish to French by routing through English as a middle step, even without a direct Spanish-to-French package. This expands the language combinations available without requiring a separate model for every possible pair, though the README notes that routing through an intermediate language does reduce translation quality somewhat. Installation is straightforward via pip, the standard Python package manager. Language packages are downloaded and installed separately through a package index that the library manages.
← argosopentech on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.