- Home
- Docs
- User guides
- Plugins
- Bergamot Translator: Translating text locally
Bergamot Translator: Translating text locally
In ONLYOFFICE Docs, you can translate text directly within the editor without an Internet connection using the
Bergamot Translator plugin. The plugin uses neural machine translation powered by the same technology as Firefox Translations. Please refer to the GitHub page of the plugin to learn more.
ImportantStarting with ONLYOFFICE Docs 8.2, no plugins come with the editors by default. The plugins shall be installed via the
Plugin Manager.
Features
- Offline Translation: Works without Internet connection after models are downloaded
- Privacy-Friendly: All translation happens locally in your browser using WebAssembly
- Neural Machine Translation: High-quality translations using the Bergamot engine
- Multi-Language Support: Supports translation between many European languages
- Model Caching: Language models are cached in your browser for offline use
- Manual Input: Option to manually enter text for translation
Usage

- Install the plugin via the
Plugin Manager. - Switch to the Plugins tab and choose
Bergamot Translator. - Select the text you want to translate.
- Choose source and target languages.
- Click Insert to document to replace selected text with translation, or click Copy to copy the translation to clipboard.
The plugin uses Bergamot Translator, a WebAssembly port of the Marian NMT framework. Translation models are provided by Mozilla Firefox Translations. The plugin is part of the Bergamot Project.
How it works
An Internet connection is required for the first launch and for downloading of new models.
- First use: The plugin downloads the translation engine (WASM) and selected language models.
- Model caching: Models are cached in your browser for offline use.
- Translation: Text is translated locally using neural machine translation.
Host ONLYOFFICE Docs on your own server or use it in the cloud
Article with the tag:
Browse all tags