Skip to content

Automatic Translation

Cognigy.AI has integrated Automatic Translation capabilities to streamline the process of customizing Flows and Intents for various Locales. These capabilities are helpful for users who need multilingual support for voice and text AI Agents without the need for manual translations.

Key features

  • Freedom of Language Choice. You have the flexibility to choose your preferred translation language.
  • Supervised or Automatic Translation. You can trigger the translation manually or automatically, depending on your needs.
  • Voice-Ready Translation. Cognigy.AI's translation capabilities are equipped to handle all modes, making them voice-ready and adaptable to various communication methods.

Prerequisites

Restrictions

  • For Intents, machine translation doesn't match the Slots you set for your primary Locale to the Keyphrases in the localized Example Sentences. After performing an Intent or Multi-Intent localization, check and fix the Slot annotation in the localized Example Sentences.

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 Automatic Translation

You can add, edit, and delete Locales in Manage > Localization. Also, you can copy their Reference ID.

You can view, create, edit, and delete Locales using the Cognigy.AI API.

Machine Translation for Flow Localization

You can automatically translate Nodes and Intents in the Flow editor. To do so, select a Locale in the top bar, go to the Node editor or the NLU tab, and click Add Localization.

Switching a Locale during a Conversation

You can change a Flow's Locale during a conversation using the Switch Locale Node.

More Information


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