---
title: "Configuration"
manual: "DeepL Translate"
version: "5.1"
permalink: "https://docs.typo3.org/permalink/web-vision/deepltranslate-core:configuration@5.1"
source: "Administration/Configuration/Index.rst"
rendered: "2026-11-16T10:59:37+00:00"
---

# Configuration {#configuration}

## Set up API {#set-up-api}

> [!WARNING]
> **Attention**
>
> Before using the DeepL API, you need to get an API key from your [DeepL Profile](https://www.deepl.com/en/your-account/keys).

Go to the [extension configuration](https://docs.typo3.org/permalink/web-vision/deepltranslate-core:extensionconfiguration@5.1)
in **Admin Tools > Settings > Extension Configuration**.

Open the settings for **deepltranslate_core** and add your API key.

![The Extension configuration settings showing two input fields for DeepL API key](../../Images/Reference/configuration.png)

The correct DeepL API endpoint for free or pro plans is auto-detected
by the extension and the given API key format.

## Set up translation language {#sitesetup}

1.  Go to **Site Management > Sites** and edit your site configuration
1.  Switch to tab `Languages` and open your target

    > ![Site settings for a TYPO3 language showing empty DeepL Target Language dropdown](../../Images/Administration/site-config-deepl-settings-empty.png)
1.  Go to **DeepL Settings** and set up your `Target Language (ISO Code)`

    > ![Selected target now set to German](../../Images/Administration/site-config-selected-target.png)

> [!NOTE]
> Although the drop-down list can also be set in the default language, there is
> no point in defining a target language for the source language.

## Choice a Formality {#choice-a-formality}

The formality configuration has been moved from the extension configuration to the SiteConfig languages.
The Formality Select field is only displayed if the selected Target-Translate of DeepL is supported.

> [!NOTE]
> For TYPO3 projects with more than one page root and language there is an upgrade wizard,
> which migrates the global formality configuration in the language config.
>
> ![Selected target now set to German wird default formality](../../Images/Administration/site-config-selected-target-formally.png)

The same option is available in the Select field as DeepL API Supported.

-   **deeplFormality**

    -   *type:* string

    Sets whether the translated text should lean towards formal or informal language.
    Possible options:

    -   **default**

        The default setting. If formal or informal depends on the language

    -   **less**

        Less formal language. Will fail, if no formality support for language

    -   **more**

        More formal language. Will fail, if no formality support for language

    -   **prefer_less**

        Use less formal language, if possible, otherwise fallback to default

    -   **prefer_more**

        Use more formal language, if possible, otherwise fallback to default

## Configure tables {#configure-tables}

If not set by default, you need to define the `l10n_mode` for the fields you
want to have translatable by `deepltranslate_core`.

See the [table configuration](https://docs.typo3.org/permalink/web-vision/deepltranslate-core:tableconfiguration@5.1) for details, and
[Content Blocks](https://docs.typo3.org/permalink/web-vision/deepltranslate-core:tableconfigurationcontentblocks@5.1) for fields defined
with Content Blocks.

## Detecting target language {#detecting-target-language}

The following chain tries to detect the language to translate into:

1.  Set up DeepL Translation language in SiteConfiguration
    \* Target languages detected from DeepL will only appear
1.  Check hreflang against DeepL supported languages
    \* Needed for detecting EN-GB, EN-US, PT-PT or PT-BR
1.  Fallback to Language ISO code

For currently allowed languages see the [DeepL conform language key](https://developers.deepl.com/docs/api-reference/languages). As this
extension retrieves available languages from the API, translations are restricted
to the languages listed in the official DeepL API documentation.

If none of these match against DeepL API, translation for this language
is disabled for usage within DeepL. Translation buttons and dropdowns
respect this setting.
