Multilingual chatbots

You can configure your chatbot to interact with chatbot users in multiple languages. 

You will need chatbot content and NLP training phrases for each language you want to support with your chatbot. You can use generative AI features to help you create translations of your existing chatbot content and questions.

To add another language to your chatbot:

  1. Add the language to your NLP settings.
  2. Identify the content you want to provide in the new language.
    Remember to include fallback passages and answers to common user questions.
  3. Consider any entities, constants or variables that your content may need in the new language.
  4. Optionally, create a usage with the translate text task to use generative AI to help you translate passages and questions.
  5. Translate your passages and questions.
    Remember to set the language of any NLP questions you create.
  6. Add language-specific fallbacks in your chatbot's Fallback settings.
  7. Create a regression test to test your NLP questions in the new language.
    Remember to set the language of the regression test. You'll need to add test cases in your target language.
  8. Test your new language content thoroughly.
    You may want to make use of some test pages.
  9. Make your chatbot always specifies a language at the start of a chat. You can either:
    1. Add the appropriate two-letter (ISO 639-1) language code in the lang attribute of the <html> tag in your web page. For example, <html lang="en">.
    2. Add a script to set the chatbot's language at the entry point passage.
  10. Publish your new chatbot language.
Was this article helpful?
0 out of 0 found this helpful