Bergamot Translator
A local neural translation library with C++ and WebAssembly builds, Firefox integration and processing on consumer hardware.

Bergamot Translator is a local AI translation library for developers building translation into browser or native applications. People who want to translate web content can use it through the separate TranslateLocally extension for Firefox.
- On-device translation: Text processing happens on your hardware, and the text being translated isn't sent to a third party.
- Native and browser applications: The C++ library uses Marian NMT and provides a shared translation API, with native builds for application integration and WebAssembly builds for JavaScript applications.
- Language support: Supported languages include Bulgarian, Czech, English, Estonian, French, Polish and Spanish, with limited support for translating Icelandic and Norwegian into English.
- Models and training tools: The Bergamot project publishes translation models and open-source training utilities for developers and researchers working on machine translation.
The library is cross-platform, free and open source under the Mozilla Public License 2.0 (MPL-2.0). Its machine learning is optimized for consumer hardware. TranslateLocally provides the Firefox interface; the library itself is intended for integration into other software.