{"id":18031,"date":"2018-01-16T09:30:46","date_gmt":"2018-01-16T09:30:46","guid":{"rendered":"http:\/\/developer.kore.ai\/v8-0\/?post_type=docs&#038;p=12639"},"modified":"2021-03-26T08:14:23","modified_gmt":"2021-03-26T08:14:23","slug":"enabling-additional-languages-for-the-universal-bot","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v8-0\/docs\/bots\/advanced-topics\/universal-bot\/enabling-additional-languages-for-the-universal-bot\/","title":{"rendered":"Enabling Additional Languages for the Universal Bot"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row type_default valign_top\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p>Like standard bots, you can enable more than one language for universal bots, but the functionality is completely different.<\/p>\n<p>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.<\/p>\n<p>Universal bots do not obtain the enabled languages of the linked bots. You must enable default and additional languages for the universal bot. When user utterances are made in an enabled language, the universal bot routes it to only those linked bot tasks that have the same 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.<\/p>\n<div class=\" alert alert-info\"><b>Note<\/b>: 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.<\/div>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\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>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p><strong>Before you Begin<\/strong><\/p>\n<p>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. For the fundamentals of multi-language bots in the Bots Builder, refer to <a href=\"\/docs\/bots\/bot-builder\/getting-started-bots\/building-multi-language-bots\/\">Building Multi-Language Bots<\/a>.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\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>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"Enable_Language\">Enable Language<\/span><\/h3>\n<p>Follow these steps to enable an additional language for a universal bot:<\/p>\n<ol>\n<li>Open the universal bot for which you want to configure new channels.<\/li>\n<li>Hover over the gear icon on the left navigation panel and click <b>Settings -&gt; Config Settings<\/b>.<\/li>\n<li>Below the General Settings tab, click <b>Language Management<\/b>.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/language-management.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19028\" src=\"\/wp-content\/uploads\/sites\/16\/language-management.png\" alt=\"\" width=\"350\" height=\"757\" \/><\/a><\/li>\n<li>On the Language Management window, click <b>Enable <\/b>next to the language you want to.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/enable-language.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-12643\" src=\"\/wp-content\/uploads\/sites\/16\/enable-language.png\" alt=\"\" width=\"637\" height=\"312\" \/><\/a><\/p>\n<div class=\"alert alert-info\"><b>Note<\/b>: If a language is already enabled, you won\u2019t be able to see the Enable button for that language.<\/div>\n<\/li>\n<li>Under the <strong>Language Selection Time Frame<\/strong> (scroll down to view this option) select one of these options:\n<ul>\n<li><b>Lifetime<\/b>: The auto-detected language or the language preference selected by the user will be set as the user&#8217;s preferred language.<\/li>\n<li><b>Per Session<\/b>: Detects the user&#8217;s language at the beginning of every session and responds accordingly.\n<div class=\"alert alert-info\"><b>Note<\/b>: 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.<\/div>\n<\/li>\n<\/ul>\n<\/li>\n<li>Click <b>Save<\/b>.<\/li>\n<\/ol>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\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>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"Customizing_Default_Dialog\">Customizing Default Dialog<\/span><\/h3>\n<p>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&#8217; preferred language. Otherwise, the universal bot responds applies the default bot language regardless of the user\u2019s preferred language.<br \/>\nFollow these steps to open the language-specific default dialog:<\/p>\n<ol>\n<li>Open the universal bot whose language-specific default dialog you want to change.<\/li>\n<li>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.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/Language-selection.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12644\" src=\"\/wp-content\/uploads\/sites\/16\/Language-selection.png\" alt=\"\" width=\"353\" height=\"222\" \/><\/a><\/li>\n<\/ol>\n<p>Once you switch the language, go to the Default Dialog of the bot and make the necessary changes as explained in the <a href=\"\/docs\/bots\/bot-builder\/getting-started-bots\/defining-universal-bots\/customizing-the-universal-bots-default-dialog-task\/\">Customizing the Default Dialog<\/a> article.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\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><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Like standard bots, you can enable more than one language for universal bots, but the functionality is completely different. 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...","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[57],"tags":[],"class_list":["post-18031","post","type-post","status-publish","format-standard","hentry","category-universal-bot"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts\/18031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/comments?post=18031"}],"version-history":[{"count":5,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts\/18031\/revisions"}],"predecessor-version":[{"id":21972,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts\/18031\/revisions\/21972"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/media?parent=18031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/categories?post=18031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/tags?post=18031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}