{"id":18016,"date":"2017-12-26T09:51:06","date_gmt":"2017-12-26T09:51:06","guid":{"rendered":"http:\/\/developer.kore.ai\/v7-2\/?post_type=docs&#038;p=12311"},"modified":"2021-03-30T10:40:25","modified_gmt":"2021-03-30T09:40:25","slug":"building-multi-language-bots","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v7-2\/docs\/bots\/advanced-topics\/multi-lingual\/building-multi-language-bots\/","title":{"rendered":"Multi-Lingual Bots"},"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>Consumers are more likely to engage with your bot if it can communicate in their preferred language. Kore.ai Bots Platform supports enabling multiple languages for a bot without having to rebuild the bot definitions.<\/p>\n<p>You can build the bot in your preferred language and then enable one or more supported languages. As part of enabling the language, the platform automatically translates all Standard Responses and you can then translate various other bot elements in the new language.<\/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<h2><span class=\"ez-toc-section\" id=\"Supported_Languages\">Supported Languages<\/span><\/h2>\n<p>Bots Platform currently supports the following languages<b>:<\/b><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"g-cols wpb_row  type_default valign_top vc_inner \"><div class=\"vc_col-sm-6 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<ul>\n<li>Arabic<\/li>\n<li>Chinese Simplified<\/li>\n<li>Chinese Traditional<\/li>\n<li>Dutch<\/li>\n<li>English<\/li>\n<li>French<\/li>\n<li>German<\/li>\n<li>Indonesian<\/li>\n<li>Italian<\/li>\n<li>Japanese<\/li>\n<li>Korean<\/li>\n<li>Portuguese (Brazilian)<\/li>\n<li>Spanish<\/li>\n<\/ul>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/div><\/div><\/div><div class=\"vc_col-sm-6 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<ul>\n<li>Finnish (post v6.4 release)<\/li>\n<li>Russian (post v7.0 release)<\/li>\n<li>Polish (post v7.0 release)<\/li>\n<li>Ukranian\u00a0(post v7.0 release)<\/li>\n<li>Swedish (post v7.1 release)<\/li>\n<li>Kazakh (post v7.2 release)<\/li>\n<\/ul>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/div><\/div><\/div><\/div><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<h2><span class=\"ez-toc-section\" id=\"Default_Language\">Default Language<\/span><\/h2>\n<p>You can choose a default language for the bot while creating it (see image below). Bot communicates with the user in the default language until the user\u2019s language is identified. If the bot supports the user\u2019s language, it switches to that language for the current or all of the following user sessions, depending on Bot\u2019s Language settings.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/Create-a-new-bot-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16726\" src=\"\/wp-content\/uploads\/sites\/13\/Create-a-new-bot-1.png\" alt=\"\" width=\"450\" height=\"471\" \/><\/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<h2><span class=\"ez-toc-section\" id=\"Enabling_Languages\">Enabling Languages<\/span><\/h2>\n<p>Enabling a supported language to a bot involves the following steps:<\/p>\n<h4>Step 1: Enable a new language<\/h4>\n<p>Follow these steps to enable a new language for the bot:<\/p>\n<ol>\n<li>Open the bot for which you want to enable other languages.<\/li>\n<li>Hover over the side navigation panel select <b>Settings &gt; Config Settings <\/b>and click <b>Language Managemen<\/b><strong>t<\/strong>.<\/li>\n<li>From the list of Supported Languages, next to the language you want to enable, click <b>Enable<\/b>.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/lang-enablement.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21945\" src=\"\/wp-content\/uploads\/sites\/13\/lang-enablement.png\" alt=\"\" width=\"1365\" height=\"573\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095204\/lang-enablement.png 1365w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095204\/lang-enablement-300x126.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095204\/lang-enablement-1024x430.png 1024w\" sizes=\"auto, (max-width: 1365px) 100vw, 1365px\" \/><\/a><\/li>\n<li>Clicking Enable opens the <strong>Enable Language &#8211; &lt;<i>Language Name<\/i>&gt;<\/strong> dialog where you have two options to enable the selected language for the bot &#8211; duplicate an existing language pack or creating a new language pack, as explained in Step 2 below.<\/li>\n<\/ol>\n<h4>Step 2: Create a language-specific version of the bot<\/h4>\n<p>You can enable a new language for the bot in the following two ways:<\/p>\n<h5>Option 1: Duplicate the default language<\/h5>\n<p>If you want to enable the new language for the bot quickly and translate the bot elements incrementally, you can begin by copying the configuration of the default language for the new language. It replicates the bot definition for the enabled language but continues to have all the bot elements in the default language, which you can translate from the application UI.<\/p>\n<p>Follow these steps to create a new bot version by copying over the default language configurations:<\/p>\n<ol>\n<li>On the Enable Language &#8211; &lt;<i>Language name<\/i>&gt; window, select <b>Copy default language.<\/b><\/li>\n<li>On the top-right corner of the window, click <b>Enable. <\/b>After a successful import, a prompt appears notifying that the new language bot is enabled.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/Copy-default-language.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-14806 alignnone\" src=\"\/wp-content\/uploads\/sites\/13\/Copy-default-language.png\" alt=\"\" width=\"613\" height=\"418\" \/><\/a><\/li>\n<li>After completing the previous steps, the bot definition gets created for the newly enabled language but the bot elements remain in the default language. You need to translate the bot elements from the UI.<\/li>\n<li>Refer to the <a href=\"#Translatable_Bot_Components\">Translatable Bot Components<\/a><i> <\/i>section to view the complete list of bot elements for which you can add translations.<\/li>\n<\/ol>\n<h5>Option 2: Create a new language pack<\/h5>\n<p>You can create a translated version of the bot elements directly, perhaps with help from a language expert, by creating a JSON language pack for the enabled language.<\/p>\n<p>You can download a JSON language pack of any of the already-enabled languages from the bot and then add translations in the JSON file.<\/p>\n<p>Follow these steps to create a JSON language pack for the new enabled language:<\/p>\n<ol>\n<li>On the Enable Language &#8211; &lt;<i>Language name<\/i>&gt; window, select\u00a0<strong>Use &lt;language-name&gt; language configuration file<\/strong> option<\/li>\n<li>From the <b>Base Language Pack<\/b> drop-down, select a language to download its language pack.<\/li>\n<li>Click <b>Download JSON<\/b>.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/base-pack.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-14807 alignnone\" src=\"\/wp-content\/uploads\/sites\/13\/base-pack.png\" alt=\"\" width=\"602\" height=\"269\" \/><\/a><\/li>\n<li>The downloaded JSON file consists of various bot elements for which you should provide the translations. Refer to the <a href=\"#Translatable_Bot_Components\">Translatable Bot Components<\/a> section to learn more about these bot elements.<\/li>\n<li>To enter a translation for a bot element in the JSON file, replace the corresponding text with the translated text.<\/li>\n<li>After customizing the downloaded JSON file for the new language, in the <b>Enabling language pack <\/b>field, click <b>Choose File<\/b> and upload the new language pack.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/Upload-Json.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-14808 alignnone\" src=\"\/wp-content\/uploads\/sites\/13\/Upload-Json.png\" alt=\"\" width=\"580\" height=\"115\" \/><\/a><\/li>\n<li>On the top-right corner of the window, click <b>Enable<\/b>. Upon successful import, the Import Successful window appears with the import results.<\/li>\n<li>Click <b>OK<\/b>. Success prompt appears on the top-right corner of your screen.<\/li>\n<\/ol>\n<div class=\"alert alert-info\"><b>Notes<\/b>:<\/div>\n<ul>\n<li class=\"alert alert-info\">After you enable a new language, the status of all the published tasks that are modified to <i>Configured<\/i>. To make the new language work in the bot, you must re-publish the bot. Until then, the bot continues to function with the previously published languages.<\/li>\n<li>Support for Synonyms is restricted to English, French, Spanish and German languages. The respective sections in Natural Language and Entity Node will be in a disabled state for other languages.<\/li>\n<\/ul>\n<div><\/div>\n<div>\n<h5>Verification<\/h5>\n<p>When the bot supports multiple languages, the top right corner of the bot window shows the default bot language followed by a drop-down to view the other supported languages. Check if the enabled language appears in the list.<\/p>\n<\/div>\n<h4>Step 3: Add or edit translations<\/h4>\n<p>After enabling a new language for the bot, you might need to add or edit translations on an ongoing basis. You can make these edits from the application UI, which is particularly helpful if you have created the bot version by copying over the default bot configurations. Editing from the UI also helps when you want to make minor edits.<br \/>\n<strong>Note<\/strong>: If you need to make significant changes to the language pack, we recommend you to make the changes in the offline copy of the language pack and then upload it to the bot. Refer to <a href=\"#reupload\">Editing and Re-uploading a language pack<\/a> to learn how to do it.<\/p>\n<p>To add or edit translations to a bot element from the UI, follow these steps:<\/p>\n<ol>\n<li>On the top right corner of the bot window, click the current bot language.<\/li>\n<li>From the drop-down list, select the bot language in which you want to make the changes.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/Switch-language.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14809\" src=\"\/wp-content\/uploads\/sites\/13\/Switch-language.png\" alt=\"\" width=\"216\" height=\"145\" \/><\/a><\/li>\n<li>Enter the language-specific text for the selected bot elements, just as you did for the default language.<br \/>\nFor example, if you want to add a bot synonym in the new language, follow these steps:<\/p>\n<ol>\n<li>Hover over the bot\u2019s side-navigation panel and click <b>Natural Language &gt; Synonyms<\/b>.<\/li>\n<li>From the list of keywords and synonyms, click the keyword for which you want to add the synonym.<\/li>\n<li>In the synonyms box, type the synonym (in the enabled language) and press enter.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<div class=\"alert alert-info\"><b>Note<\/b>: Refer to the <a href=\"#Translatable_Bot_Components\">Translatable Bot Components<\/a> article for the complete list of bot elements to which you can add or edit translations.<\/div>\n<h5 id=\"reupload\">Editing and Re-uploading a language pack<\/h5>\n<p>If you need to make major changes to the language pack, the recommended practice is to make the changes in the offline copy of the language pack and re-upload it to the bot.<\/p>\n<div class=\"alert alert-info\"><b>Note<\/b>: Proceed with a full replacement of the language pack only if you are externally managing the language pack. The newly updated doesn&#8217;t just update the existing language pack but replaces it. If you are looking to make small changes that don\u2019t warrant a full replacement, make them directly from the application UI.<\/div>\n<p>To re-upload a language pack to a bot, follow these steps:<\/p>\n<ol>\n<li>On the top right corner of the bot window, click the current bot language.<\/li>\n<li>From the drop-down list, select the bot language in which you want to make the changes.<\/li>\n<li>Hover over the side navigation panel and click <b>Settings &gt; Config Settings -&gt; Language Management<\/b>. The Language Management window opens displaying a Manage button next to the enabled languages.<\/li>\n<li>Click <b>Manage <\/b>and in the Manage Language window click <b>Choose File <\/b>and upload the updated language pack.<\/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<h2 id=\"detection\"><span class=\"ez-toc-section\" id=\"Language_Detection_and_Selection\">Language Detection and Selection<\/span><\/h2>\n<p>Multilingual bots auto-detect and switch language based on the user&#8217;s 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&#8217;s criteria.<\/p>\n<h4>Language Detection<\/h4>\n<p>There are three ways a bot can detect the language based upon the user utterance:<\/p>\n<ul>\n<li><strong>By Default<\/strong>: Kore.ai Bots platform uses its own language detection algorithm to detect language from the user utterance. This is the default setting and the end user&#8217;s language will be detected by the platform.<\/li>\n<li>For on-prem installation, you can go with the above-mentioned default setting of Kore.ai&#8217;s in-house language detection algorithm or use Google APIs for language detections. You can set it in the Kore Config file.<\/li>\n<li>If you are using BotKit SDK, you may also send the following cheat command from your BotKit to the platform:\n<pre class=\"\">cheat language &lt;<em>language name or code<\/em>&gt;<\/pre>\n<\/li>\n<\/ul>\n<p>Depending on the language selection configuration (see below), the bot continues to communicate with the user in the same language just for that single session or all the following sessions. In any case, if the user switches to another enabled language anytime later, the bot changes to the new language automatically.<\/p>\n<p>If the bot fails to detect a user&#8217;s language with high confidence, it requests the user to select a preferred language from the list of enabled options.<\/p>\n<h4>Configuring the Language Selection Logic for Bot Users<\/h4>\n<ol>\n<li>On the Bot menu, click <b>Settings &gt; Config Settings -&gt; Language Management. <\/b>Under <strong>Language Selection Logic<\/strong> (scroll down for the option), for <strong>language selection time frame<\/strong>, set to one of the following:\n<ul>\n<li><b>Lifetime<\/b>: The auto-detected language will be set as the user&#8217;s 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 bot changes to that language.<\/li>\n<li><b>Per Session<\/b>: Detects the user&#8217;s language at the beginning of every session and responds accordingly.<\/li>\n<li><strong>Every User Message<\/strong>: Identifies the user&#8217;s language from every utterance. In case a change is detected, will get a confirmation from the user regarding the switch and proceeds as per the user response. <span style=\"text-decoration: underline\">Note<\/span> 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 multi-lingual bots.<\/li>\n<\/ul>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/lang-selection.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22731\" src=\"\/wp-content\/uploads\/sites\/13\/lang-selection.png\" alt=\"\" width=\"958\" height=\"324\" \/><\/a><\/li>\n<li>For testing and debugging purposes, you can override the language selection settings by using the cheat command during a chat session:<br \/>\nReplace the\u00a0language\u00a0name or code\u00a0<b><\/b>with one of these values:<\/p>\n<ul>\n<li>English:<b> English <\/b>or <b>EN<\/b><\/li>\n<li>German: <b>German <\/b>or <b>DE<\/b><\/li>\n<li>French: <b>French <\/b>or <b>FR<\/b><\/li>\n<li>Spanish: <b>Spanish <\/b>or <b>ES<\/b><\/li>\n<\/ul>\n<\/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<h2 id=\"translate\"><span class=\"ez-toc-section\" id=\"Translatable_Components\">Translatable Components<\/span><\/h2>\n<p>This section lists the bot elements for which you can provide translations, along with their JSON properties. You can also translate these elements from the application UI. Refer to the help links added across the article to get an overview of the relevant topic areas.<\/p>\n<div class=\"alert alert-info\"><b>Note:<\/b> You need not translate Standard Responses as the platform automatically translates them when you enable a language.<\/div>\n<h3><span class=\"ez-toc-section\" id=\"Bot_Metadata\">Bot Metadata<\/span><\/h3>\n<p>JSON object consisting of the following translatable elements<\/p>\n<table>\n<thead>\n<tr>\n<th>Field Name<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Bot Name<\/td>\n<td>String<\/td>\n<td>Name of the bot<\/td>\n<\/tr>\n<tr>\n<td>Bot Description<\/td>\n<td>String<\/td>\n<td>Description of the bot<\/td>\n<\/tr>\n<tr>\n<td>Bot Synonyms<\/td>\n<td>Object<\/td>\n<td>Arrays of important words in the task names and their corresponding synonyms. Enter translation of the words as well as their synonyms. Refer to <a href=\"\/v7-2\/docs\/bots\/bot-builder-tool\/train-nlp-optimization\/fundamental-meaning\/fundamental-meaning\/#Managing_Synonyms\">Managing Synonyms<\/a> to learn more about bot synonyms.<\/td>\n<\/tr>\n<tr>\n<td>Bot Error Codes<\/td>\n<td>Object<\/td>\n<td>Arrays of error codes and their corresponding messages. Enter translations of the error message. Refer to <a href=\"\/v7-2\/docs\/bots\/bot-settings\/customizing-error-messages\/\">Customizing Error Messages<\/a>\u00a0to learn more about error messages.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span class=\"ez-toc-section\" id=\"Dialog_Tasks\">Dialog Tasks<\/span><\/h3>\n<p>JSON object consisting of the following translatable components of your bot\u2019s <a href=\"\/v7-2\/docs\/bots\/bot-builder-tool\/develop\/dialog-task\/dialog-tasks\/\">Dialog Tasks<\/a>.<\/p>\n<table>\n<thead>\n<tr>\n<th>Field Name<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Dialog Task Name<\/td>\n<td>String<\/td>\n<td>Name of the dialog task<\/td>\n<\/tr>\n<tr>\n<td>Dialog Task Desc<\/td>\n<td>String<\/td>\n<td>Description of the dialog task<\/td>\n<\/tr>\n<tr>\n<td>Dialog Task Upgrade Message<\/td>\n<td>String<\/td>\n<td>Message displayed to the developer on the History page for the upgraded task<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span class=\"ez-toc-section\" id=\"Dialog_Components\">Dialog Components<\/span><\/h3>\n<p>JSON object consisting of the following translatable components related to the NLP settings of a dialog task.<\/p>\n<table>\n<thead>\n<tr>\n<th>Field Name<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Dialog Component Intent<\/td>\n<td>String<\/td>\n<td>Name of the User Intent node<\/td>\n<\/tr>\n<tr>\n<td>Dialog Component Description<\/td>\n<td>String<\/td>\n<td>Description of the User Intent node<\/td>\n<\/tr>\n<tr>\n<td>Dialog Component Synonyms<\/td>\n<td>Object<\/td>\n<td>Synonyms for the words in the entity node names. Refer to <a href=\"\/v7-2\/docs\/bots\/bot-builder-tool\/train-nlp-optimization\/fundamental-meaning\/fundamental-meaning\/#Managing_Synonyms\">Managing Synonyms<\/a> to learn more.<\/td>\n<\/tr>\n<tr>\n<td>Dialog Component Patterns<\/td>\n<td>Object<\/td>\n<td>Patterns for the User Intent and Entity nodes in the dialog task. Refer to <a href=\"\/v7-2\/docs\/bots\/bot-builder-tool\/train-nlp-optimization\/fundamental-meaning\/fundamental-meaning\/#Managing_Patterns\">Managing Patterns<\/a> to learn more.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span class=\"ez-toc-section\" id=\"Message_Templates\">Message Templates<\/span><\/h3>\n<p>JSON object with arrays of Message Template IDs and Message Template Text values. They correspond to the\u00a0<b>User Responses <\/b>field in the Message node and the<b> Bot Prompts <\/b>and <b>Error Prompts <\/b>fields in the <a href=\"\/v7-2\/docs\/bots\/bot-builder-tool\/develop\/dialog-task\/working-with-the-entity-node\/\">Entity node<\/a> of the dialog tasks.<\/p>\n<table>\n<thead>\n<tr>\n<th>Field Name<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Message Template Text<\/td>\n<td>String<\/td>\n<td>The text entered in User Responses, Bot Prompts, or Error Prompts fields in any Message or Entity node of a dialog task.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span class=\"ez-toc-section\" id=\"Action_Task\">Action Task<\/span><\/h3>\n<p>JSON object consisting of the following translatable components of your bot\u2019s <a href=\"\/v7-2\/docs\/bots\/bot-builder-tool\/develop\/simple-task\/action-tasks\/kore-bot-action-tasks\/\">Action Tasks<\/a>.<\/p>\n<table>\n<thead>\n<tr>\n<th>Field Name<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Action Name<\/td>\n<td>String<\/td>\n<td>Name of the action task<\/td>\n<\/tr>\n<tr>\n<td>Action Short Desc<\/td>\n<td>String<\/td>\n<td>Description of the action task<\/td>\n<\/tr>\n<tr>\n<td>Action Keywords<\/td>\n<td>Array<\/td>\n<td>The search keywords entered for the action task<\/td>\n<\/tr>\n<tr>\n<td>Action Patterns<\/td>\n<td>Array<\/td>\n<td>Arrays of patterns related to the action task\u2019s name. Replace the pattern text with the translated text. Refer to <a href=\"\/v7-2\/docs\/bots\/bot-builder-tool\/train-nlp-optimization\/fundamental-meaning\/fundamental-meaning\/#Managing_Patterns\">Managing Patterns<\/a> to learn more.<\/td>\n<\/tr>\n<tr>\n<td>Action Field Synonyms<\/td>\n<td>Object<\/td>\n<td>Arrays of synonyms for each task field. Replace the field name and the synonyms with the translated text. Refer to <a href=\"\/v7-2\/docs\/bots\/bot-builder-tool\/train-nlp-optimization\/fundamental-meaning\/fundamental-meaning\/#managing-synonyms\">Managing Synonyms<\/a> to learn more.<\/td>\n<\/tr>\n<tr>\n<td>Action Field Patterns<\/td>\n<td>Object<\/td>\n<td>Array consisting of patterns for each task field. Replace the pattern text with the translated text. Refer to <a href=\"\/v7-2\/docs\/bots\/bot-builder-tool\/train-nlp-optimization\/fundamental-meaning\/fundamental-meaning\/#Managing_Patterns\">Managing Patterns<\/a> to learn more.<\/td>\n<\/tr>\n<tr>\n<td>Action Ignore Words<\/td>\n<td>Array<\/td>\n<td>Array of ignore words related to the action task. Replace the words with the translated text. Refer to <a href=\"\/v7-2\/docs\/bots\/bot-builder-tool\/train-nlp-optimization\/bot-intelligence\/manage-intents-entities\/\">Managing Ignore Words and Field Memory<\/a> to learn more.<\/td>\n<\/tr>\n<tr>\n<td>Action Upgrade Short Message<\/td>\n<td>String<\/td>\n<td>Upgrade Short Message related to the action task.<\/td>\n<\/tr>\n<tr>\n<td>Action Upgrade Long Message<\/td>\n<td>String<\/td>\n<td>Upgrade Long Message related to the action task.<\/td>\n<\/tr>\n<tr>\n<td>Action Query Fields<\/td>\n<td>Object<\/td>\n<td>Key-value pairs of Action Field Help and Action Field Title. Replace the text with the translated text.<\/td>\n<\/tr>\n<tr>\n<td>Action Payload Fields<\/td>\n<td>Object<\/td>\n<td>Key-value pairs of Alert Payload fields. Replace the text with the translated text.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span class=\"ez-toc-section\" id=\"Alert_Task\">Alert Task<\/span><\/h3>\n<p>JSON object consisting of the following translatable components of your bot\u2019s Alert Tasks.<\/p>\n<table>\n<thead>\n<tr>\n<th>Field Name<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Alert Name<\/td>\n<td>String<\/td>\n<td>Name of the alert task<\/td>\n<\/tr>\n<tr>\n<td>Alert Short Desc<\/td>\n<td>String<\/td>\n<td>Description of the alert task<\/td>\n<\/tr>\n<tr>\n<td>Alert Keywords<\/td>\n<td>Array<\/td>\n<td>The search keywords entered for the alert task<\/td>\n<\/tr>\n<tr>\n<td>Alert Patterns<\/td>\n<td>Array<\/td>\n<td>Array of patterns related to the alert task\u2019s name. Replace the pattern text with the translated text. Refer to <a href=\"\/v7-2\/docs\/bots\/bot-builder-tool\/train-nlp-optimization\/fundamental-meaning\/fundamental-meaning\/#Managing_Patterns\">Managing Patterns<\/a> to learn more.<\/td>\n<\/tr>\n<tr>\n<td>Alert Field Synonyms<\/td>\n<td>Object<\/td>\n<td>Arrays consisting of synonyms for each task field. Replace the field name and the synonyms with the translated text. Refer to <a href=\"\/v7-2\/docs\/bots\/bot-builder-tool\/train-nlp-optimization\/fundamental-meaning\/fundamental-meaning\/#managing-synonyms\">Managing Synonyms<\/a> to learn more.<\/td>\n<\/tr>\n<tr>\n<td>Alert Field Patterns<\/td>\n<td>Object<\/td>\n<td>Arrays consisting of patterns for each task field. Replace the pattern text with the translated text. Refer to <a href=\"\/v7-2\/docs\/bots\/bot-builder-tool\/train-nlp-optimization\/fundamental-meaning\/fundamental-meaning\/#Managing_Patterns\">Managing Patterns<\/a> to learn more.<\/td>\n<\/tr>\n<tr>\n<td>Alert Ignore Words<\/td>\n<td>Array<\/td>\n<td>Arrays of ignore words related to the alert task. Replace the words with the translated text. Refer to <a href=\"\/v7-2\/docs\/bots\/bot-builder-tool\/train-nlp-optimization\/bot-intelligence\/manage-intents-entities\/\">Managing Ignore Words and Field Memory<\/a> to learn more.<\/td>\n<\/tr>\n<tr>\n<td>Alert Upgrade Short Message<\/td>\n<td>String<\/td>\n<td>Upgrade short message related to the alert task.<\/td>\n<\/tr>\n<tr>\n<td>Alert Upgrade Long Message<\/td>\n<td>String<\/td>\n<td>Upgrade long message related to the alert task.<\/td>\n<\/tr>\n<tr>\n<td>Alert Query Fields<\/td>\n<td>Object<\/td>\n<td>Arrays consisting of key-value pairs of Alert Field Help and Alert Field Title. Replace the text with the translated text.<\/td>\n<\/tr>\n<tr>\n<td>Alert Payload Fields<\/td>\n<td>Object<\/td>\n<td>Arrays consisting of key-value pairs of Alert Payload fields. Replace the text with the translated text.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span class=\"ez-toc-section\" id=\"Action_Fields\">Action Fields<\/span><\/h3>\n<p>JSON object consisting of the following translatable components in the<a href=\"\/v7-2\/docs\/bots\/bot-builder-tool\/develop\/simple-task\/action-tasks\/kore-bot-action-tasks\/\"> API Request tab<\/a> of the Action task.<\/p>\n<table>\n<thead>\n<tr>\n<th>Field Name<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Action Field Title<\/td>\n<td>String<\/td>\n<td>The title of the user input field related to the action task, for example, <i>Choose account<\/i><i><br \/>\n<\/i><\/td>\n<\/tr>\n<tr>\n<td>Action Field Help<\/td>\n<td>String<\/td>\n<td>The help text displayed below the field title to describe the task, for example, <i>Which account would you like to get the balance for? <\/i><\/td>\n<\/tr>\n<tr>\n<td>Action Field Placeholder<\/td>\n<td>Array<\/td>\n<td>The placeholder text displayed inside the field<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span class=\"ez-toc-section\" id=\"Alert_Fields\">Alert Fields<\/span><\/h3>\n<p>JSON object consisting of the following translatable components in the <a href=\"\/v7-2\/docs\/bots\/bot-builder-tool\/develop\/simple-task\/alert-tasks\/notification-tasks\/\">API Request tab<\/a> of the Alert task.<\/p>\n<table>\n<thead>\n<tr>\n<th>Field Name<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Alert Field Title<\/td>\n<td>String<\/td>\n<td>The title of the user input field related to the alert task, for example, <i>Choose city<\/i><i><\/i><\/td>\n<\/tr>\n<tr>\n<td>Alert Field Help<\/td>\n<td>String<\/td>\n<td>The help text displayed below the field title to describe the task, for example, <i>Which city would you like to get weather alerts for? <\/i><\/td>\n<\/tr>\n<tr>\n<td>Alert Field Placeholder<\/td>\n<td>String<\/td>\n<td>The placeholder text displayed inside the field.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span class=\"ez-toc-section\" id=\"Bot_Filters\">Bot Filters<\/span><\/h3>\n<p>JSON object consisting of the following translatable components related to Bot filters<\/p>\n<table>\n<thead>\n<tr>\n<th>Field Name<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Filter Name<\/td>\n<td>String<\/td>\n<td>Name of the task filter<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span class=\"ez-toc-section\" id=\"IDP_Config_Form_Fields\">IDP Config Form Fields<\/span><\/h3>\n<p>JSON object consisting of the following translatable components related to IDP configuration form<\/p>\n<table>\n<tbody>\n<tr>\n<td><b>Field Name<\/b><\/td>\n<td><b>Type<\/b><\/td>\n<td><b>Description<\/b><\/td>\n<\/tr>\n<tr>\n<td>IDP Form Field<\/td>\n<td>String<\/td>\n<td>Name of the IDP Form Field displayed to the end-user in the authentication dialog<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\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":"Consumers are more likely to engage with your bot if it can communicate in their preferred language. Kore.ai Bots Platform supports enabling multiple languages for a bot without having to rebuild the bot definitions. You can build the bot in your preferred language and then enable one or more supported languages. As part of enabling...","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\/v7-2\/wp-json\/wp\/v2\/posts\/18016","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/comments?post=18016"}],"version-history":[{"count":16,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/posts\/18016\/revisions"}],"predecessor-version":[{"id":23757,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/posts\/18016\/revisions\/23757"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/media?parent=18016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/categories?post=18016"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/tags?post=18016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}