Skip to content

Ditto Translations

Ditto supports post translations, as shown in the image below:

Example translated post

The current supported providers are:

DeepL as translation provider

Set the following environment variables:

  • TRANSLATION_PROVIDER=deepl
  • DEEPL_BASE_URL - Base URL endpoint
  • DEEPL_API_KEY - API KEY

LibreTranslate as translation provider

Set the following environment variables:

  • TRANSLATION_PROVIDER=libretranslate
  • LIBRETRANSLATE_BASE_URL - Base URL endpoint
  • LIBRETRANSLATE_API_KEY - API KEY

TIP

You can keep both the API KEYS and URLs endpoints of different providers set at the same time, the only environment variable that must be uniquely set is TRANSLATION_PROVIDER