> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cognigy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Real-Time Translation

The *Real-Time Translation* feature translates conversations in real time, eliminating the need for pre-translation, as in typical [localization](/ai/platform-features/translation-and-localization/localization) scenarios.

With real-time translation, you don't need human agents for every language nor to localize your Flow beforehand. You can focus on a few key languages while still serving customers in many others.

## Key Features

* [Multilingual AI](#users-and-ai-agents). Your voice and chat [AI Agents](/ai/agents/quickstart) can switch languages in real time, even if you only have configured your Flow in English. With this approach, you can reach a greater audience in their native language with low effort.
* [Real-time translation between users and human agents](#users-and-human-agents). Users and human agents can write in their languages after a [handover](/ai/escalate/handovers), but they receive messages translated into their own language.

## Prerequisites

* You have configured a [machine translation provider](#configure-machine-translation-providers).

## Compatibility with Machine Translation Providers

Cognigy.AI supports the following machine translation providers:

* Microsoft Translator
  * Microsoft Azure Cognitive Services Translator<sup><a href="#footnote1">1</a></sup>
* Google Cloud Translation
* DeepL Translation Pro

## Configure Machine Translation Providers

You can configure a machine translation provider in **Manage > Settings > Translation Settings**. To do so, you need the following information:

<Tabs>
  <Tab title="Microsoft Translator">
    | Information                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
    | ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
    | Translation Provider API Key | The API key provided by Microsoft Translator.                                                                                                                                                                                                                                                                                                                                                                                                                     |
    | Custom API Base URL          | This setting is optional. If you have specific requirements or need to connect to a custom instance of the Microsoft Translator API different from the default one `https://api.cognitive.microsofttranslator.com/`, you can use this field to specify a custom base URL. This setting allows you to define the URL, including the protocol scheme, for example, `https://api-eur.cognitive.microsofttranslator.com`, to tailor the API connection to your needs. |
    | Custom Subscription Region   | This setting is optional. It represents the region of your Azure MS Translator resource. You may need to use this setting when calling this API, especially if you have set a specific region in your Azure account.                                                                                                                                                                                                                                              |
  </Tab>

  <Tab title="Google Cloud Translation">
    | Information                  | Description                                       |
    | ---------------------------- | ------------------------------------------------- |
    | Translation Provider API Key | The API key provided by Google Cloud Translation. |
  </Tab>

  <Tab title="DeepL Translate Pro">
    | Information                  | Description                                                                                                                                                                                                                                                                                                                                                |
    | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
    | Translation Provider API Key | The API key provided by DeepL Translate Pro.                                                                                                                                                                                                                                                                                                               |
    | Custom API Base URL          | This setting is optional. If you have specific requirements or need to connect to a custom instance of the DeepL Translate Pro API, you can use this field to specify a custom base URL. This setting allows you to define the URL, including the protocol scheme, for example, `https://api-free.deepl.com/`, to tailor the API connection to your needs. |
  </Tab>
</Tabs>

## How to Use Real-Time Translation

You can configure the real-time translation feature in the [Real Time Translation](/ai/agents/deploy/endpoints/real-time-translation-settings) settings in the Endpoint editor. All Endpoints, including voice Endpoints, such as Voice Gateway, support real-time translation.

### Users and AI Agents

Real-time translation between a user and an AI Agent works for text-based and voice conversations.

### Users and Human Agents

Real-time translation between a user and a human agent works for text-based conversations after a user triggers a [Handover to Human Agent Node](/ai/agents/develop/node-reference/service/handover-to-agent) in the [Flow](/ai/agents/develop/projects-and-flows/overview). Conversations with real-time translation between the user and the human agent are recorded for compliance purposes.

After the human agent takes over the conversation, the user can keep writing in their original language while the human agent receives real-time translation of the user input. The human agent can respond in their language, and the user receives real-time translation of the human agent's response. The following image shows real-time translation example, where the user is writing in German and the human agent is responding in English.

<Frame>
  <img class="image-center" src="https://mintcdn.com/cognigy-15abf2ba/xzKKSVUQG5P2_fcS/_assets/ai/develop/translation-and-localization/real-time-translation.png?fit=max&auto=format&n=xzKKSVUQG5P2_fcS&q=85&s=6c310d4d295c6f36e1aa110d09e70046" alt="Real-time translation between a German-speaking user and English-speaking agent" style={{ width: 'auto' }} width="1394" height="732" data-path="_assets/ai/develop/translation-and-localization/real-time-translation.png" />
</Frame>

## More Information

* [Real-Time Translation Settings](/ai/agents/deploy/endpoints/real-time-translation-settings)
* [Automatic Translation](/ai/platform-features/translation-and-localization/auto-translation)
* [Localization](/ai/platform-features/translation-and-localization/localization)

***

<span style={{ fontSize: "0.8rem" }}>
  <sup id="footnote1">1</sup> To use **Azure Cognitive Services Translator**, select Microsoft Translator in **Manage > Settings > Translation Settings**.
</span>

<br />
