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.
Language | ISO 639-1 code | Full support (Text) | Using translation (text) | Speech-to-text | Text-to-speech | Knowledge mining | Sentiment analytics | Small talk support |
---|---|---|---|---|---|---|---|---|
English - US | en | Yes | Yes | Yes | Yes | Yes | Yes | |
English - Great Britain | en | Yes | Yes | Yes | Yes | Yes | Yes | |
English - Canada | en | Yes | Yes | Yes | Yes | Yes | Yes | |
English - India | en | Yes | Yes | Yes | Yes | Yes | Yes | |
English - Australia | en | Yes | Yes | Yes | Yes | Yes | Yes | |
English - Singapore | en | Yes | Yes | |||||
English - Nigerian Pidgin | en | Yes | Yes | |||||
English - South Africa | en | Yes | Yes | |||||
Chinese - Cantonese | Yes | Yes | Yes | Yes | Yes | Yes | ||
Chinese - Simplified | zh-CN | Yes | Yes | Yes | Yes | Yes | Yes | |
Chinese - Traditional | Yes | Yes | Yes | Yes | ||||
Arabic (Peninsular Group) | ar | Yes | Yes | Yes | Yes | Yes | Yes | |
Arabic (Mesopotamian Group) | ar | Yes | Yes | Yes | Yes | Yes | Yes | |
Arabic (Levantine Group) | ar | Yes | Yes | Yes | Yes | Yes | Yes | |
Arabic (Egypto-Sudanic Group) | ar | Yes | Yes | Yes | Yes | Yes | Yes | |
Arabic (Maghrebi Group) | ar | Yes | Yes | Yes | Yes | Yes | Yes | |
Afrikaans | af | Yes | Yes | Yes | Yes | Yes | Yes | |
Albanian | sq | Yes | Yes | Yes | Yes | Yes | ||
Amharic | am | Yes | Yes | Yes | Yes | Yes | ||
Armenian | hy | Yes | Yes | Yes | Yes | Yes | ||
Aymara | Yes | Yes | Yes | Yes | ||||
Azerbaijani | az | Yes | Yes | Yes | Yes | Yes | ||
Basque | eu | Yes | Yes | Yes | Yes | Yes | ||
Belarusian | be | Yes | Yes | Yes | Yes | |||
Bengali (Bangla) | bn | Yes | Yes | Yes | Yes | Yes | Yes | |
Bosnian | bs | Yes | Yes | Yes | Yes | Yes | ||
Breton | Yes | Yes | Yes | |||||
Bulgarian | bg | Yes | Yes | Yes | Yes | Yes | Yes | |
Burmese | my | Yes | Yes | Yes | Yes | |||
Corsican | co | Yes | Yes | |||||
Croatian | hr | Yes | Yes | Yes | Yes | Yes | Yes | |
Czech | cs | Yes | Yes | Yes | Yes | Yes | Yes | |
Danish | da | Yes | Yes | Yes | Yes | Yes | Yes | |
Dhivehi (Divehi/Maldivian) | Yes | Yes | Yes | Yes | ||||
Dutch | nl | Yes | Yes | Yes | Yes | Yes | Yes | |
Esperanto | eo | Yes | Yes | Yes | Yes | |||
Estonian | et | Yes | Yes | Yes | Yes | Yes | Yes | |
Filipino (Tagalog) | tl | Yes | Yes | Yes | Yes | Yes | Yes | |
Finnish | fi | Yes | Yes | Yes | Yes | Yes | Yes | |
French - France | fr | Yes | Yes | Yes | Yes | Yes | Yes | |
French - Canada | ca | Yes | Yes | Yes | Yes | Yes | Yes | |
Galician | gl | Yes | Yes | Yes | Yes | Yes | ||
Georgian | ka | Yes | Yes | Yes | Yes | Yes | ||
German | de | Yes | Yes | Yes | Yes | Yes | Yes | |
Greek | el | Yes | Yes | Yes | Yes | Yes | Yes | |
Gujarati | gu | Yes | Yes | Yes | Yes | |||
Haitian Creole | ht | Yes | ||||||
Hausa | ha | Yes | Yes | Yes | Yes | |||
Hawaiian | Yes | Yes | ||||||
Hebrew | he | Yes | Yes | Yes | Yes | Yes | Yes | |
Hindi | hi | Yes | Yes | Yes | Yes | Yes | Yes | |
Hmong | Yes | Yes | ||||||
Hungarian | hu | Yes | Yes | Yes | Yes | Yes | Yes | |
Icelandic | is | Yes | Yes | Yes | Yes | Yes | Yes | |
Ido | Yes | Yes | Yes | |||||
Igbo | ig | Yes | Yes | |||||
Indonesian | id | Yes | Yes | Yes | Yes | Yes | Yes | |
Irish | ga | Yes | Yes | Yes | Yes | Yes | Yes | |
Italian | it | Yes | Yes | Yes | Yes | Yes | Yes | |
Japanese | ja | Yes | Yes | Yes | Yes | Yes | Yes | |
Javanese | Yes | Yes | Yes | |||||
Kannada | kn | Yes | Yes | Yes | Yes | |||
Kazakh | Kk | Yes | Yes | Yes | Yes | Yes | ||
Khmer (Central Khmer) | km | Yes | Yes | Yes | Yes | Yes | ||
Kinyarwanda | rw | Yes | Yes | |||||
Kirghiz (Kyrgyz) | ky | Yes | Yes | |||||
Korean | ko | Yes | Yes | Yes | Yes | Yes | Yes | |
Kurdish (Kurmanji) | ku | Yes | Yes | Yes | Yes | |||
Kyrgyz | ky | Yes | Yes | |||||
Lao | lo | Yes | Yes | Yes | ||||
Latin | la | Yes | Yes | Yes | Yes | |||
Latvian | lv | Yes | Yes | Yes | Yes | Yes | Yes | |
Lithuanian | lt | Yes | Yes | Yes | Yes | Yes | Yes | |
Luxembourgish (Letzeburgesch) | lb | Yes | Yes | |||||
Macedonian | mk | Yes | Yes | Yes | Yes | Yes | ||
Malagasy | mg | Yes | Yes | Yes | Yes | |||
Malay | ms | Yes | Yes | Yes | Yes | Yes | Yes | |
Malayalam | ml | Yes | Yes | Yes | Yes | Yes | Yes | |
Maltese | mt | Yes | Yes | Yes | Yes | |||
Marathi | mr | Yes | Yes | Yes | Yes | Yes | Yes | |
Mongolian | mn | Yes | Yes | Yes | ||||
Nepali | ne | Yes | Yes | Yes | ||||
Norwegian (Bokmål) | no | Yes | Yes | Yes | Yes | Yes | Yes | |
Norwegian (Nynorsk) | no | Yes | Yes | Yes | Yes | Yes | Yes | |
Nyanja (Chewa/Chichewa) | ny | Yes | Yes | |||||
Occitan | Yes | Yes | Yes | Yes | ||||
Odia (Oriya) | or | Yes | Yes | |||||
Pashto | ps | Yes | Yes | |||||
Persian | fa | Yes | Yes | Yes | Yes | Yes | ||
Polish | pl | Yes | Yes | Yes | Yes | Yes | Yes | |
Portuguese (Brazil) | pt | Yes | Yes | Yes | Yes | Yes | Yes | |
Portuguese (Portugal) | pt | Yes | Yes | Yes | Yes | Yes | Yes | |
Punjabi (Gurmukhi) | pa | Yes | Yes | Yes | ||||
Romanian | ro | Yes | Yes | Yes | Yes | Yes | Yes | |
Russian | ru | Yes | Yes | Yes | Yes | |||
Samoan | sm | Yes | Yes | |||||
Scottish Gaelic | gd | Yes | Yes | |||||
Serbian | sr | Yes | Yes | Yes | Yes | Yes | Yes | |
Shona | sn | Yes | Yes | |||||
Sindhi | sd | Yes | Yes | Yes | Yes | |||
Sinhala (Sinhalese) | si | Yes | Yes | Yes | Yes | Yes | ||
Slovak | sk | Yes | Yes | Yes | Yes | Yes | Yes | |
Slovenian | sl | Yes | Yes | Yes | Yes | Yes | Yes | |
Somali | so | Yes | Yes | Yes | Yes | |||
Spanish (Latin America) | es | Yes | Yes | Yes | Yes | Yes | Yes | |
Spanish (Castillian Spain) | es | Yes | Yes | Yes | Yes | Yes | Yes | |
Spanish (Catalan Spain) | es | Yes | Yes | Yes | Yes | Yes | Yes | |
Sundanese | su | Yes | Yes | Yes | ||||
Swahili | sw | Yes | Yes | Yes | Yes | |||
Swedish | sv | Yes | Yes | Yes | Yes | Yes | Yes | |
Tajik | tg | Yes | Yes | Yes | Yes | |||
Tamil | ta | Yes | Yes | Yes | Yes | Yes | Yes | |
Tatar | tt | Yes | Yes | Yes | Yes | |||
Telugu | te | Yes | Yes | Yes | Yes | Yes | Yes | |
Thai | th | Yes | Yes | Yes | Yes | Yes | Yes | |
Turkish | tr | Yes | Yes | Yes | Yes | Yes | Yes | |
Turkmen | tk | Yes | Yes | |||||
Uighur (Uyghur) | ug | Yes | Yes | Yes | Yes | |||
Ukrainian | uk | Yes | Yes | Yes | Yes | Yes | Yes | |
Urdu | ur | Yes | Yes | Yes | Yes | Yes | Yes | |
Uyghur | ug | Yes | Yes | Yes | Yes | |||
Uzbek | uz | Yes | Yes | Yes | Yes | Yes | ||
Vietnamese | vi | Yes | Yes | Yes | Yes | Yes | Yes | |
Welsh | cy | Yes | Yes | Yes | ||||
Xhosa | xh | Yes | Yes | |||||
Yiddish | yi | Yes | Yes | |||||
Yoruba | yo | Yes | Yes | |||||
Zulu | zu | Yes | Yes | Yes |
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:
Go to Studio > Build > Flow > click the Language icon.
Click + Add langauge.
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:
In a flow, add the set language node node where you want to enable translation.
Go to Variables.
Create a variable and assign it a language code that represents the language in which you want your bot to communicate.
Go to the Set Language node and select the variable you created.
Test the bot by previewing the flow to ensure it communicates in the selected language.
To change the language of your bot, update the language code in the variable to your preferred language.
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:
Go to Studio > Build > Translations tab.
You will see a pop-up dialog box.
Enter a Key name for the translation.
In Description, provide a brief description of the key.
Enter the message in English and in other languages (if required).
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.
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.
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:
Click the translation icon in the text field.
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:
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.
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.
- Edit: You can select this option to edit the key, description, and text of the other language fields.
Import multiple translations using a CSV file
To add multiple translations at the same time, follow these steps:
Create a CSV file with columns: name (key), english_text, and other configured languages like hindi_text, kannada_text, tamil_text.
On the Translations page, click Bulk Manage > Import.
Bulk Manage > Export is used to download the existing keys in your platform along with their translations.
Click Upload File and select the CSV file from your local system to import the file.
Click Import.