Skip to main content

Add Multilingual support to your bot

By adding multilingual support to your bot, you can reach a broader audience and enhance customer engagement. Users can seamlessly switch languages during interactions, creating a more welcoming experience.

Supported languages

The following are the different languages supported in the bot.

LanguageISO 639-1 codeFull support (Text)Using translation (text)Speech-to-textText-to-speechKnowledge miningSentiment analyticsSmall talk support
English - USenYesYesYesYesYesYes
English - Great BritainenYesYesYesYesYesYes
English - CanadaenYesYesYesYesYesYes
English - IndiaenYesYesYesYesYesYes
English - AustraliaenYesYesYesYesYesYes
English - SingaporeenYesYes
English - Nigerian PidginenYesYes
English - South AfricaenYesYes
Chinese - CantoneseYesYesYesYesYesYes
Chinese - Simplifiedzh-CNYesYesYesYesYesYes
Chinese - TraditionalYesYesYesYes
Arabic (Peninsular Group)arYesYesYesYesYesYes
Arabic (Mesopotamian Group)arYesYesYesYesYesYes
Arabic (Levantine Group)arYesYesYesYesYesYes
Arabic (Egypto-Sudanic Group)arYesYesYesYesYesYes
Arabic (Maghrebi Group)arYesYesYesYesYesYes
AfrikaansafYesYesYesYesYesYes
AlbaniansqYesYesYesYesYes
AmharicamYesYesYesYesYes
ArmenianhyYesYesYesYesYes
AymaraYesYesYesYes
AzerbaijaniazYesYesYesYesYes
BasqueeuYesYesYesYesYes
BelarusianbeYesYesYesYes
Bengali (Bangla)bnYesYesYesYesYesYes
BosnianbsYesYesYesYesYes
BretonYesYesYes
BulgarianbgYesYesYesYesYesYes
BurmesemyYesYesYesYes
CorsicancoYesYes
CroatianhrYesYesYesYesYesYes
CzechcsYesYesYesYesYesYes
DanishdaYesYesYesYesYesYes
Dhivehi (Divehi/Maldivian)YesYesYesYes
DutchnlYesYesYesYesYesYes
EsperantoeoYesYesYesYes
EstonianetYesYesYesYesYesYes
Filipino (Tagalog)tlYesYesYesYesYesYes
FinnishfiYesYesYesYesYesYes
French - FrancefrYesYesYesYesYesYes
French - CanadacaYesYesYesYesYesYes
GalicianglYesYesYesYesYes
GeorgiankaYesYesYesYesYes
GermandeYesYesYesYesYesYes
GreekelYesYesYesYesYesYes
GujaratiguYesYesYesYes
Haitian CreolehtYes
HausahaYesYesYesYes
HawaiianYesYes
HebrewheYesYesYesYesYesYes
HindihiYesYesYesYesYesYes
HmongYesYes
HungarianhuYesYesYesYesYesYes
IcelandicisYesYesYesYesYesYes
IdoYesYesYes
IgboigYesYes
IndonesianidYesYesYesYesYesYes
IrishgaYesYesYesYesYesYes
ItalianitYesYesYesYesYesYes
JapanesejaYesYesYesYesYesYes
JavaneseYesYesYes
KannadaknYesYesYesYes
KazakhKkYesYesYesYesYes
Khmer (Central Khmer)kmYesYesYesYesYes
KinyarwandarwYesYes
Kirghiz (Kyrgyz)kyYesYes
KoreankoYesYesYesYesYesYes
Kurdish (Kurmanji)kuYesYesYesYes
KyrgyzkyYesYes
LaoloYesYesYes
LatinlaYesYesYesYes
LatvianlvYesYesYesYesYesYes
LithuanianltYesYesYesYesYesYes
Luxembourgish (Letzeburgesch)lbYesYes
MacedonianmkYesYesYesYesYes
MalagasymgYesYesYesYes
MalaymsYesYesYesYesYesYes
MalayalammlYesYesYesYesYesYes
MaltesemtYesYesYesYes
MarathimrYesYesYesYesYesYes
MongolianmnYesYesYes
NepalineYesYesYes
Norwegian (Bokmål)noYesYesYesYesYesYes
Norwegian (Nynorsk)noYesYesYesYesYesYes
Nyanja (Chewa/Chichewa)nyYesYes
OccitanYesYesYesYes
Odia (Oriya)orYesYes
PashtopsYesYes
PersianfaYesYesYesYesYes
PolishplYesYesYesYesYesYes
Portuguese (Brazil)ptYesYesYesYesYesYes
Portuguese (Portugal)ptYesYesYesYesYesYes
Punjabi (Gurmukhi)paYesYesYes
RomanianroYesYesYesYesYesYes
RussianruYesYesYesYes
SamoansmYesYes
Scottish GaelicgdYesYes
SerbiansrYesYesYesYesYesYes
ShonasnYesYes
SindhisdYesYesYesYes
Sinhala (Sinhalese)siYesYesYesYesYes
SlovakskYesYesYesYesYesYes
SlovenianslYesYesYesYesYesYes
SomalisoYesYesYesYes
Spanish (Latin America)esYesYesYesYesYesYes
Spanish (Castillian Spain)esYesYesYesYesYesYes
Spanish (Catalan Spain)esYesYesYesYesYesYes
SundanesesuYesYesYes
SwahiliswYesYesYesYes
SwedishsvYesYesYesYesYesYes
TajiktgYesYesYesYes
TamiltaYesYesYesYesYesYes
TatarttYesYesYesYes
TeluguteYesYesYesYesYesYes
ThaithYesYesYesYesYesYes
TurkishtrYesYesYesYesYesYes
TurkmentkYesYes
Uighur (Uyghur)ugYesYesYesYes
UkrainianukYesYesYesYesYesYes
UrduurYesYesYesYesYesYes
UyghurugYesYesYesYes
UzbekuzYesYesYesYesYes
VietnameseviYesYesYesYesYesYes
WelshcyYesYesYes
XhosaxhYesYes
YiddishyiYesYes
YorubayoYesYes
ZuluzuYesYesYes

Add supported languages to your bot

You can add multiple supported languages to the bot, allowing users to interact in their preferred language.

To add a new language to your bot, follow these steps:

  1. Go to Studio > Build > Flow > click the Language icon.

    drawing
  2. Click + Add langauge.

    drawing
  3. Add the languages to be supported and click Save.

Set your preferred language during bot conversations

To interact with the bot in your preferred language at any point during the conversation, use the set language node to set your desired language. Follow these steps to configure the language for your bot:

  1. In a flow, add the set language node node where you want to enable translation.

    drawing
  2. Go to Variables.

    drawing
  3. Create a variable and assign it a language code that represents the language in which you want your bot to communicate.

  4. Go to the Set Language node and select the variable you created.

  5. Test the bot by previewing the flow to ensure it communicates in the selected language.

  6. To change the language of your bot, update the language code in the variable to your preferred language.

  7. Go to the Set language node and select the updated variable. This will change the language of your bot to the newly selected language code.

Add language translations

If you prefer not to use auto-translation services like Google Translate, manually add language translations to your bot. This ensures clear and precise communication with users, particularly for languages where automated translations may be inaccurate.

This section provides detailed instructions on how to add the language translations for your bot.

Add translations for individual keys

To add language translations, you need to create a unique key for each message in the selected languages. These keys are then linked to specific nodes in your bot.

In this context, a "key" refers to a sentence or message intended for users, that is selected during flow creation for translation. You can provide translations for all supported languages, manually as explained in the following:

  1. Go to Studio > Build > Translations tab.

  • You will see a pop-up dialog box.

    drawing
  1. Enter a Key name for the translation.

  2. In Description, provide a brief description of the key.

  3. Enter the message in English and in other languages (if required).

  4. Click Add.

  • This will add the translation key.

Auto-translate translation keys

If you want to translate the messages into other languages then you can use the Auto-translate option. Auto translation simplifies the translation process by automatically filling empty fields with translated data, based on the information that is provided in the corresponding English field.

  1. To enable auto-translation, on Studio > Build > Translations, click on the Auto-translate button.

  • This will automatically translate the data into the other languages based on the information provided in the corresponding English field.

info

You cannot switch languages mid-conversation. For instance, if a user starts the conversation in English and then switches to Chinese, the bot will continue responding in English without adjusting to the new language.

Add translation key in nodes

You can add translation keys to nodes in a multilingual bot to ensure the bot's output is displayed in the selected language. Here are the steps to add the translation key in nodes:

  1. Click the translation icon in the text field.

    drawing
  2. Select the key that is already configured for that text translation (or, add new translations as you create each node).

  • When the bot-user conversation reaches this node, based on the language set by the user, the bot automatically switches to the language configured in the key.

Manage translations Keys

After adding translation keys, you can edit and delete it based on your requirements.

To manage the translations keys, follow these steps:

  1. Go to the keys that you have created and hover on them to perform the following actions:

    • Edit: You can select this option to edit the key, description, and text of the other language fields. drawing
    • You can also edit the particular language description by clicking the Edit icon corresponding to each description

    • Delete: You can select this option to permanently delete the key. Once deleted, it cannot be recovered.

Import multiple translations using a CSV file

To add multiple translations at the same time, follow these steps:

  1. Create a CSV file with columns: name (key), english_text, and other configured languages like hindi_text, kannada_text, tamil_text.

  2. On the Translations page, click Bulk Manage > Import.

note

Bulk Manage > Export is used to download the existing keys in your platform along with their translations.

  1. Click Upload File and select the CSV file from your local system to import the file.

    drawing
  2. Click Import.