Skip to main content

Multilingual support

Yellow.ai lets you add multiple languages to your bot to communicate with your customers in their preferred language. This feature makes it easy for businesses to expand globally and engage with customers in their desired language. Users can seamlessly switch between languages during their conversations with the bot, resulting a personalized experience that caters to their unique needs.

For example, if your bot is programmed to greet users with a welcome message, it will display Greetings, welcome to India. However, to create a more personalized experience, you can utilize the translation feature to translate the word Greetings into different languages. For instance, in Hindi, the word Greetings can be translated to Namaskar, while in Tamil it can be translated to Vanakam. By configuring these translations, users can add a human touch to the bot's communication, creating a more engaging and welcoming experience for their customers.

1. Supported languages

The following table consists of the languages supported in our platform.

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

2. Add languages to your bot

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

  1. Go to Studio and click the Language icon.

  1. Click + Add langauge

  1. Add the required languages and click Save.

3. Language translation

These sections will guide you in setting language translations for your bot.

3.1 Set language translation for your bot

  1. Go to Studio > Translations.

  1. Click + Create new key.

  1. In the following pop-up, fill the below-mentioned fields:
  • In Key enter the keyword that will switch the language.
  • Describe the keyword in the Description field.
  • Add the translated lines in the required languages.

  1. Click Add.

You can add multiple keys and lines as per your requirement.

An alternative to manually filling each field with translated data in different languages is to use the Auto translate option located at the top right corner. This option automatically populates the empty fields with translated data, provided the corresponding field in English is already filled with data.

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.

3.3 Add multiple translations at once

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

  1. Click Bulk Manage > Import.

note

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

  1. Have a CSV file ready with mandatory columns: name (key), english_text. This can be followed by the other configured languages (columns) like hindi_text, kannada_text, tamil_text, etc.
  2. Click Upload File, select the CSV file from your local system to import the file.
  3. Click Import.
drawing

3.4 Add translations using code

Translation can also be configured via code.

  1. Go to Functions and click the transalte icon.
  2. Click + Add code, and then add the following line to the Code field, along with the default message in the required language to the Message field.
  3. Click Add Message.

app.renderMessage('code-goes-here', {}, 'default message')

When the bot encounters the message specified in the Message field, it automatically executes the code, performing translation in the chosen language.


4. Configure translation in nodes

To enable the translation feature and allow nodes to switch to the required language, you need to configure the nodes accordingly. Here are the steps to configure translations in nodes:

  1. Click the translation icon in the text field.

  1. 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 used by the customer, the bot automatically switches to the language configured in the key.