1. Home
  2. Kore.ai Conversational Platform
  3. Bot Builder Tool
  4. Develop
  5. Bot Types
  6. Defining a Universal Bot
  7. Enabling Additional Languages for the Universal Bot

Enabling Additional Languages for the Universal Bot

Before you Begin

This article assumes that you understand the fundamentals of multi-language bots in Kore.ai and therefore focuses on the aspects specific to the universal bots. To refer to the fundamentals of multi-language bots in the Bots Builder, read Building Multi-Language Bots.

Overview

Like standard bots, you can enable more than one languages for universal bots, but how they work differs completely. When you enable a new language for a standard bot, you need to upload language packs consisting of the entire bot definitions. Whereas to enable a new language for a universal bot, you just need to set up the corresponding default dialog.
Universal bots do not obtain the enabled languages of the linked bots. You must enable default and additional languages for the universal bot. But when user utterances are made in an enabled language, the universal bot routes it to only those linked bot tasks that too have the language enabled. For example, if German is enabled for the universal bot and a user utters in German, the NLP engine looks for all the linked bot tasks that support German and sends the utterance only to those tasks.

Note: If a user interacts with the universal bot in a non-enabled language, it sends a standard response in the default language requesting the user to interact in one of the supported languages. Also, if none of the linked tasks have a relevant response, the bot triggers the language-specific default dialog.

Enable an additional language

Follow these steps to enable an additional language for a universal bot:

  1. Open the universal bot for which you want to configure new channels.
  2. Hover over the gear icon on the left navigation panel and click Settings -> Config Settings.
  3. Below the General Settings tab, click Language Management.
  4. On the Language Management window, click Enable next to the language you want to.

    Note: If a language is already enabled, you won’t be able to see the Enable button for the language.
  5. Under the Language Selection Time Frame select one of these options:
    • Lifetime: The auto-detected language or the language preference selected by the user will be set as the user’s preferred language.
    • Per Session: Detects the user’s language at the beginning of every session and responds accordingly.
      Note: If the language cannot be determined with high confidence, bot requests the users to select their preferred language. The default language is used to communicate with the user during language preference selection.
  6. Click Save.

Customizing the Default Dialog for an Enabled Language

If the Kore.ai NLP engine cannot recognize the user intent, the universal bot responds to the users with the default dialog. You must create language-specific versions of the default dialog for each enabled language so that such bot responses go in the users’ preferred language. Otherwise, the universal bot responds applies the default bot language regardless of the user’s preferred language.
Follow these steps to open the language-specific default dialog:

  1. Open the universal bot whose language-specific default dialog you want to change.
  2. On the top-right side of the bot window, click the name of current bot language, and select any of the enabled languages. It switches the bot language as per your selection.

Once you switch the language, go to the Default Dialog of the bot and make the necessary changes as explained in the Customizing the Default Dialog article.

Was this article helpful to you? Yes 1 No 1