Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 875 Bytes

OfflineTranslation.md

File metadata and controls

13 lines (7 loc) · 875 Bytes

Offline translation

Starting from version 5.0, Linguist has an embedded offline translator called "Bergamot". To use it, simply choose this translator on the preferences page.

You can also use offline translation with custom translators starting from Linguist version 4.0.

To do this, you need to deploy any service locally for translating text and implement a JS binding for Linguist.

LibreTranslate

You can use the LibreTranslate project to deploy a machine translation service locally or on your own server.

After deployment (or finding a trusted server), add the custom translator LibreTranslator and replace the apiPath value with the actual URL of the LibreTranslate instance.