{"id":18016,"date":"2017-12-26T09:51:06","date_gmt":"2017-12-26T09:51:06","guid":{"rendered":"http:\/\/developer.kore.ai\/v10-1\/?post_type=docs&#038;p=12311"},"modified":"2024-02-13T06:24:32","modified_gmt":"2024-02-13T06:24:32","slug":"building-multi-language-bots","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/advanced-topics\/multi-lingual\/building-multi-language-bots\/","title":{"rendered":"Getting Started with Multilingual Virtual Assistants"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Consumers are more likely to engage with virtual assistants that communicate in their preferred language. The Kore.ai XO Platform supports enabling multiple languages within an assistant without having to rebuild the definitions. The platform supports over 100 languages and you can choose to enable any of these languages for your assistant. You can start building with one language and enable additional languages as and when you need them.\u00a0\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This article takes you through the general context within which multilingual VAs work. It discusses language use in VA-user conversations and in NLU processes, language enablement options, as well as language detection and selection.\u00a0<\/span><\/p>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h1><span class=\"ez-toc-section\" id=\"Building_a_Multilingual_VA\"><span style=\"font-weight: 400;\">Building a Multilingual VA<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400;\">If you want to build a Multilingual VA, there are a few points to keep in mind:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">There is a set of basic building blocks to a multilingual VA: the language in which it talks to users, the language in which you train it, and the process through which it detects and selects which languages to use. Please continue reading this article to learn more.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">You can create a new Virtual Assistant or add new languages to an existing one. Read more about managing languages <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/uncategorised\/managing-languages-for-multilingual-vas\/\"><span style=\"font-weight: 400;\">here<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Multilingual VAs have language-specific components and some features exhibit different behaviors compared to single language assistants. Read more about this <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/uncategorised\/multilingual-vas-components-feature-support\/\"><span style=\"font-weight: 400;\">here<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Translation can be automated using pre-built translation services from providers such as Microsoft or Google; or custom services, including any that you may build in-house. Read <a href=\"https:\/\/developer.kore.ai\/v10-1\/uncategorised\/managing-translation-services\/\">here<\/a> to learn more.<\/span><\/li>\n<\/ol>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h1><span class=\"ez-toc-section\" id=\"The_Conversation_Bot_Language\"><span style=\"font-weight: 400;\">The Conversation (Bot) Language<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400;\">Enabling a language requires you to train the model to understand the user\u2019s input and present the responses in the user\u2019s language. To achieve this, the platform allows you to choose a <\/span><strong>Conversation (Bot) Language<\/strong><span style=\"font-weight: 400;\"> and <\/span><strong>NLU Language<\/strong><span style=\"font-weight: 400;\"> for every language that you would like to enable. In most cases, the Conversation Language can be the same as the NLU Language.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Conversation Language is the one that users use to interact with the assistant. You can choose any of the over 100 languages as the Conversation Language. You can define the responses (prompts, messages. etc.,) in the Conversation Language.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can also use the automatic response translation feature when you or your team does not have expertise in the user\u2019s language. You can write the responses in your preferred language and the platform will automatically translate them to the user\u2019s language during the conversation.\u00a0<\/span><\/p>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Supported_Bot_Languages\"><strong>Supported Bot Languages<\/strong><\/span><\/h2>\n<p>The following are the Conversation Languages supported by the Platform:<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">Afrikaans \u2013 af<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Haitian_creole \u2013 ht<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Romanian \u2013 ro<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Amharic\u00a0 \u2013 am<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Hungarian \u2013 hu<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Russian \u2013 ru<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Assamese \u2013 as<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Irish \u2013 ga<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Sinhalese \u2013 si<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Arabic \u2013 ar<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Indonesian \u2013 id<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Slovak \u2013 sk<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Azerbaijani \u2013 az<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Igbo \u2013\u00a0 ig<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Slovenian \u2013 sl<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Armenian \u2013 hy<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Icelandic \u2013 is<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Spanish \u2013 es<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Albanian\u00a0 \u2013 sq<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Italian \u2013 if<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Samoan \u2013 sm<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Bulgarian \u2013 bg<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Japanese \u2013 ja<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Shona \u2013 sn<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Belarusian \u2013 be<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Javanese \u2013 jv<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Somali \u2013 so<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Bengali\/Bangla \u2013 bn<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Kazakh \u2013 kk<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Serbian \u2013 sr<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Basque \u2013 eu<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Khmer \u2013 km<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Sesotho \u2013 st<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Bosnian \u2013 bs<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Kannada \u2013 kn<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Sundanese \u2013 su<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Burmese \u2013 my<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Korean \u2013 ko<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Swedish \u2013 sv<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Cebuano \u2013 ceb<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Kurdish \u2013 km<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Swahili \u2013 sw<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Catalan \u2013 ca<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Kyrgyz \u2013 ky<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Tamil \u2013 ta<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Chinese \u2013 izh<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Kinyarwanda -rw<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Tagalog &#8211; tl<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Corsican \u2013 co<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Latin \u2013 la<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Tibetan \u2013 bo<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Croatian \u2013 hr<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Luxembourgish \u2013 lb\u00a0<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Telugu \u2013 te<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Czech \u2013 cs<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Laothian\/Laos\/lao \u2013 lo<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Tajik \u2013 tg<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Danish \u2013 da<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Lithuanian \u2013 lt<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Thai \u2013 th<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Dutch \u2013 nl<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Latvian \u2013 lv<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Turkmen \u2013 tk<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">English \u2013 en<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Marathi \u2013 mr<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Tagalog\/Filipino &#8211; fil<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Esperanto \u2013 eo<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Malay \u2013 ms<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Turkish \u2013 tr<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Estonian \u2013 et<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Malagasy \u2013 mg<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Tatar \u2013 tt<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Finnish \u2013 fi<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Maori \u2013 mi<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Uighur\/Uyghur \u2013 ug<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">French \u2013 fr<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Macedonian \u2013 mk<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Urdu \u2013 ur<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Frisian \u2013 fy<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Maltese \u2013 mt<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Ukrainian \u2013 uk<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">German \u2013 de<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Malayalam \u2013 ml<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Uzbek \u2013 uz<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Greek \u2013 el<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Mongolian \u2013 mn<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Vietnamese \u2013 vi<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Galician \u2013 gl<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Nepali \u2013 ne<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Wolof \u2013 wo<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Georgian \u2013 ka<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Norwegian \u2013 nb<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Welsh \u2013 cy<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Gujarati \u2013 gu<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Nyanja \u2013 ny<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Xhosa \u2013 xh<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Hausa \u2013 ha<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Oriya\/Odia \u2013 or\u00a0<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Yiddish \u2013 yi<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Hawaiian \u2013 haw<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Punjabi \u2013 pa<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Yoruba \u2013 yo<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Hebrew \u2013 he<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Polish \u2013 pl<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Zulu \u2013 zo<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Hindi \u2013 hi<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Portuguese (Brazilian) \u2013 pt<\/span><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Hmong \u2013 hmn<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Portuguese (European) &#8211; pt_pt<\/span><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Hmong \u2013 hmn<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Persian \u2013 fa<\/span><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h1><span class=\"ez-toc-section\" id=\"The_NLU_Language\"><span style=\"font-weight: 400;\">The NLU Language<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400;\">The NLU Language is the one that you train the assistant with, to identify the user\u2019s intents. The NLU model is built using the NLU Language that you choose. This language can be the same as the Conversation language or it can be any other supported language.\u00a0<\/span><\/p>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Supported_NLU_Languages\"><span style=\"font-weight: 400;\">Supported NLU Languages<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">\\The following are the NLU Languages supported by the platform. While most of the NLU features are supported in all languages, there are some exceptions, <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/how-tos\/multi-lingual-bot-behavior\/\"><span style=\"font-weight: 400;\">see here for more details<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">Arabic \u2013 ar<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Kazakh (post v7.2 release) \u2013 kk<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Chinese Simplified \u2013 zh_cn<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Marathi (post v9.0 release) \u2013 mr<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Chinese Traditional -zh_tw<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Norwegian (post v8.1 release) \u2013 nb<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Catalan (post v9.0 release) \u2013 ca<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Polish (post v7.0 release) \u2013 pl<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Dutch \u2013 nl<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Portuguese (Brazilian) \u2013 pt<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">English \u2013 en<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Portuguese (European) &#8211; pt_pt<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">French \u2013 fr<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Russian (post v7.0 release) \u2013 ru<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Finnish (post v6.4 release) \u2013 fi<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Swedish (post v7.1 release) \u2013 sv<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Hindi (post v8.1 release) \u2013 hi<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Slovenian \u2013 sl\u00a0<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">German \u2013 de<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Spanish \u2013 es<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Indonesian \u2013 id<\/span><\/td>\n<td>Tagalog &#8211; tl<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Italian \u2013 it<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Telugu (post v9.0 release) \u2013 te<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Japanese \u2013 ja<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Tamil (post v9.0 release) \u2013 ta<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Korean \u2013 ko<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Ukrainian (post v7.0 release) \u2013 uk<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Language-specific_NLU_Models\"><span style=\"font-weight: 400;\">Language-specific NLU Models\u00a0<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">The platform supports language-specific NLU models for 26 languages. These models are pre-trained to understand system entities, concepts, sentiment, etc. in specific languages.\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">In most cases, the NLU Language can be the same as the Conversation Language for the 26 languages listed below.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">There may be cases where you can choose an NLU Language that is different from the Conversation Language. For example, you want to enable the <\/span><em><span style=\"font-weight: 400;\">Arabic <\/span><\/em><span style=\"font-weight: 400;\">language for your assistant but train using the <\/span><em><span style=\"font-weight: 400;\">English <\/span><\/em><span style=\"font-weight: 400;\">language. You can enable the automatic input translation feature to support this flow. The user input is automatically translated to the NLU Language during the conversation.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">These models provide a wide range of configurations for you to fully customize the model behavior.\u00a0<\/span><\/li>\n<\/ul>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h2><span class=\"ez-toc-section\" id=\"The_Multilingual_NLU_Model\"><span style=\"font-weight: 400;\">The Multilingual NLU Model\u00a0<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Multilingual NLU model is a language-agnostic model that understands over 100 languages.\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Translation of user input is not required as the model is pre-trained to understand over 100 languages\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">As the model is language agnostic, you can train the model in any of your preferred languages or a combination of languages.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">This model supports fewer configurations as compared to the language-specific NLU models.<\/span><\/li>\n<\/ul>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h1><span class=\"ez-toc-section\" id=\"Language_Enablement_Options\"><span style=\"font-weight: 400;\">Language Enablement Options<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400;\">The platform offers various options for you to enable additional languages. You can choose a combination of Conversation Language, NLU Language, Input Translation, and Response Translation that suits your needs.<\/span><\/p>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Scenario_1_Enabling_a_language_in_which_you_can_train_as_well\"><span style=\"font-weight: 400;\">Scenario 1: Enabling a language in which you can train as well<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Example<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">Conversation Language<\/span><\/td>\n<td><span style=\"font-weight: 400;\">NLU Language<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Input Translation<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Response Translation<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">English\u00a0<\/span><\/td>\n<td><span style=\"font-weight: 400;\">English<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Not Required<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Optional<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">This is one of the common ways of enabling languages.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The Conversation Language and the NLU Language will be the same.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Input Translation and Response Translation are not required for this flow.<\/span><\/li>\n<\/ul>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Scenario_2_Enabling_a_language_using_another_language_as_NLU_Language\"><span style=\"font-weight: 400;\">Scenario 2: Enabling a language using another language as NLU Language<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Example<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">Conversation Language<\/span><\/td>\n<td><span style=\"font-weight: 400;\">NLU Language<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Input Translation<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Response Translation<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Arabic\u00a0<\/span><\/td>\n<td><span style=\"font-weight: 400;\">English<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Required<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Optional<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Georgian<\/span><\/td>\n<td><span style=\"font-weight: 400;\">French<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Required<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Optional<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Use this flow if you want to train the assistant in a language other than the conversation language.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">You can also use this flow if the language you want to enable is not supported as an NLU Language.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Input Translation is required for this flow to translate the user\u2019s input to the NLU Language.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">You will need to enable the Response Translation option if the responses are defined in a language other than the conversation language.<\/span><\/li>\n<\/ul>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Scenario_3_Enabling_a_language_using_the_Multilingual_NLU_model\"><span style=\"font-weight: 400;\">Scenario 3: Enabling a language using the Multilingual NLU model<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Example<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">Conversation Language<\/span><\/td>\n<td><span style=\"font-weight: 400;\">NLU Language<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Input Translation<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Response Translation<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Arabic\u00a0<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Multilingual Model<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Not Required<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Optional<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Georgian<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Multilingual Model<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Not Required<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Optional<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Use this flow if you want to train using the multilingual NLU model.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">You can also use this flow if the language you want to enable is not supported as an NLU Language.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Input Translation is not required for this flow as the multi-lingual model understands over 100 languages.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">You will need to enable the Response Translation option if the responses are defined in a language other than the conversation language.<\/span><\/li>\n<\/ul>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h1><span class=\"ez-toc-section\" id=\"Language_Detection_and_Selection\"><span style=\"font-weight: 400;\">Language Detection and Selection<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400;\">Multilingual virtual assistants auto-detect and switch language based on the user\u2019s utterance. An exception to this rule is when the user is expected to enter a value against an entity and the user input satisfies that entity\u2019s criteria.<\/span><\/p>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Language_Detection\"><span style=\"font-weight: 400;\">Language Detection<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">There are three ways an assistant can detect the language based upon the user utterance:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><strong>By Default<\/strong><span style=\"font-weight: 400;\">: Kore.ai\u2019s platform uses its own language detection algorithm to detect language from the user utterance. This is the default setting and the end user\u2019s language will be detected by the platform.<\/span><\/li>\n<li style=\"font-weight: 400;\"><strong>Google API<\/strong><span style=\"font-weight: 400;\">: For on-prem installation, you can go with the above-mentioned default setting of Kore.ai\u2019s in-house language detection algorithm or use Google APIs for language detections. You can set it in the Kore Config file.<\/span><\/li>\n<li style=\"font-weight: 400;\"><strong>BotKit SDK<\/strong><span style=\"font-weight: 400;\">: If you are using BotKit SDK, you may also send the following cheat command from your BotKit to the platform:<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">cheat language &lt;<\/span><em><span style=\"font-weight: 400;\">language name or code<\/span><\/em><span style=\"font-weight: 400;\">&gt;<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">The assistant continues to communicate with the user in the same language. If the user switches to another enabled language anytime later, the assistant changes to the new language automatically.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If the assistant fails to detect a user\u2019s language with high confidence, it requests the user to select a preferred language from the list of enabled options.<\/span><\/p>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Language_Selection\"><span style=\"font-weight: 400;\">Language Selection\u00a0<\/span><\/span><\/h2>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The virtual assistant identifies user language from every utterance. In case a change is detected, it will get a confirmation from the user regarding the switch and will proceeds as per the user response.\u00a0 These standard responses can be customized using the <\/span><span style=\"font-weight: 400;\">getCurrentOptions<\/span><span style=\"font-weight: 400;\"> utility, <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/advanced-topics\/koreutil-libraries\/#koreUtilgetCurrentOptions\"><span style=\"font-weight: 400;\">see here for more<\/span><\/a><span style=\"font-weight: 400;\">. <\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/p>\n<table style=\"height: 18px; width: 100%; border-collapse: collapse; background-color: #fffbea;\">\n<tbody>\n<tr style=\"height: 18px;\">\n<td style=\"width: 100%; height: 18px;\"><strong><em>Note <\/em><\/strong><em><span style=\"font-weight: 400;\">that the current conversation will be discarded in case the user wants to switch languages.<\/span><\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Language selection settings \u2013 In addition, you may want to configure the language selection options. From the menu under the <\/span><strong>Build<\/strong><span style=\"font-weight: 400;\"> tab, click <\/span><strong>Configurations -&gt; Languages. <\/strong><span style=\"font-weight: 400;\">Under <\/span><strong>Language Selection Logic<\/strong><span style=\"font-weight: 400;\"> (scroll down for the option), for <\/span><strong>language selection time frame<\/strong><span style=\"font-weight: 400;\">, set to one of the following:<\/span>\n<ol>\n<li style=\"font-weight: 400;\"><strong>Lifetime<\/strong><span style=\"font-weight: 400;\">: The auto-detected language will be set as the user\u2019s preferred language and used for all subsequent communications until the user interacts in another enabled language anytime later. If the user starts to talk in another enabled language, the virtual assistant changes to that language.<\/span><\/li>\n<li style=\"font-weight: 400;\"><strong>Per Session<\/strong><span style=\"font-weight: 400;\">: Detects the user\u2019s language at the beginning of every session and responds accordingly.<\/span><\/li>\n<li style=\"font-weight: 400;\"><strong>Every User Message<\/strong><span style=\"font-weight: 400;\">: Identifies the user\u2019s language from every utterance. In case a change is detected, the VA will get a confirmation from the user regarding the switch and proceed as per the user response. <\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/p>\n<table style=\"height: 18px; width: 100%; border-collapse: collapse; background-color: #fffbea;\">\n<tbody>\n<tr style=\"height: 18px;\">\n<td style=\"width: 100%; height: 18px;\"><strong><em>Note <\/em><\/strong><em><span style=\"font-weight: 400;\">that the current conversation will be discarded in case the user wants to switch languages. This feature was introduced in release 7.2 and is the default setting for multilingual virtual assistants.<\/span><\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221003095055\/language-selection-logic.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-47204\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221003095055\/language-selection-logic.png\" alt=\"\" width=\"907\" height=\"344\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221003095055\/language-selection-logic.png 1922w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221003095055\/language-selection-logic-300x114.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221003095055\/language-selection-logic-1024x388.png 1024w\" sizes=\"auto, (max-width: 907px) 100vw, 907px\" \/><\/a><\/li>\n<\/ol>\n<\/li>\n<li style=\"font-weight: 400;\">For testing and debugging purposes, you can override the language selection settings by using the cheat command during a chat session. Replace the language name or code with one of these values:<\/li>\n<\/ol>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">English:<\/span><strong> English <\/strong><span style=\"font-weight: 400;\">or <\/span><strong>EN<\/strong><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">German: <\/span><strong>German <\/strong><span style=\"font-weight: 400;\">or <\/span><strong>DE<\/strong><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">French: <\/span><strong>French <\/strong><span style=\"font-weight: 400;\">or <\/span><strong>FR<\/strong><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Spanish: <\/span><strong>Spanish <\/strong><span style=\"font-weight: 400;\">or <\/span><strong>ES<\/strong><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Consumers are more likely to engage with virtual assistants that communicate in their preferred language. The Kore.ai XO Platform supports enabling multiple languages within an assistant without having to rebuild the definitions. The platform supports over 100 languages and you can choose to enable any of these languages for your assistant. You can start building&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[],"class_list":["post-18016","post","type-post","status-publish","format-standard","hentry","category-multi-lingual"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/18016","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/comments?post=18016"}],"version-history":[{"count":68,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/18016\/revisions"}],"predecessor-version":[{"id":60013,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/18016\/revisions\/60013"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=18016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=18016"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=18016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}