Skip to content

Real-Time Translation

Real-Time Translation instantly translates languages during conversations, eliminating the need for pre-translation, as in typical localization scenarios.

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

Key Features

  • Multilingual AI. Your voice and chat AI Agents 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 with different can write in different languages in their after a handover, but they'll receive messages translated into their own language in real time.

Prerequisites

Compatibility with Machine Translation Providers

Cognigy.AI supports the following machine translation providers:

  • Microsoft Translator
    • Microsoft Azure Cognitive Services Translator1
  • Google Cloud Translation
  • DeepL Translation Pro

Configure a Machine Translation Provider

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

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.
Information Description
Translation Provider API Key The API key provided by Google Cloud Translation.
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.

How to Use Real-Time Translation

You can configure the real-time translation feature in the Real Time Translation 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 Agent Node in the Flow. 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's 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.

More Information


  1. To use Azure Cognitive Services Translator, select Microsoft Translator in Manage > Settings > Translation Settings