1.1.12 • Published 6 months ago

strapi-provider-translate-deepl v1.1.12

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

DeepL provider for Strapi Translate Plugin

Configure the provider through the pluginOptions:

module.exports = {
  // ...
  translate: {
    enabled: true,
    config: {
      // Choose one of the available providers
      provider: 'deepl',
      // Pass credentials and other options to the provider
      providerOptions: {
        // your API key - required and wil cause errors if not provided
        apiKey: 'key',
        // use custom api url - optional
        apiUrl: 'https://api-free.deepl.com',
        // use custom locale mapping (for example 'en' locale is deprecated so need to choose between 'EN-GB' and 'EN-US')
        localeMap: {
          // use uppercase here!
          EN: 'EN-US',
        },
        apiOptions: {
          // see <https://github.com/DeepLcom/deepl-node#text-translation-options> for supported options.
          // note that tagHandling Mode cannot be set this way.
          // use with caution, as non-default values may break translation of markdown
          formality: 'default',
          // ...
        },
      },
      // other options ...
    },
  },
  // ...
}

or use the default environment variables:

  • DEEPL_API_KEY - default undefined
  • DEEPL_API_URL - default undefined

To get an API key, register for free at www.deepl.com/pro#developer.

Limitations:

1.1.12

6 months ago

1.1.11

6 months ago

1.1.9

8 months ago

1.1.8

9 months ago

1.1.7

10 months ago

1.1.6

10 months ago

1.1.5

11 months ago

1.1.4

11 months ago

1.1.10

8 months ago

1.1.4-next.1

11 months ago

1.1.1

1 year ago

1.0.2

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.1.3

1 year ago

1.0.4

1 year ago

1.1.2

1 year ago

1.1.0-next.4

1 year ago

1.0.3

1 year ago

1.1.0-next.3

1 year ago

1.1.0-next.2

1 year ago

1.1.0-next.1

1 year ago

1.0.0

1 year ago

1.0.0-next.4

1 year ago

1.0.0-next.3

1 year ago

1.0.0-next.2

1 year ago

1.0.0-next.1

1 year ago