Create a Bot in Multiple Languages
  • 3 Minutes to read
  • Comment
  • Dark
    Light

Create a Bot in Multiple Languages

  • Comment
  • Dark
    Light

Make sure your Tidio widget is ready for international visitors and create a bot with multiple languages. 


In this article, you'll learn:


If you want to translate the Tidio widget, check our article on translating your chat widget


Multilanguage bot 


You can create a bot that will send automated messages in more than one language. The bot will detect the visitors' default browser language and base its actions on that. A multilingual bot is another step in interacting with your customers worldwide!


The multilanguage bot needs to have the Language condition placed after its trigger and before the rest of the content. The method can be used for every bot, as long as the condition is added and the correctly connected paths. This article will show you how to configure it step by step.


Adding the Language condition


To allow your bot to detect the visitor's language preferences, you need to add the Language condition. You can find it in the Conditions menu on the right in the Visual Chatbots editor. 


Multilingual condition bot

 

Once the condition is added, it's time to adjust the Language node and connect to some actions. Below you can read about two different examples; when your bot needs two languages or when it needs three or more languages to support. 


A bot for two different languages


Click on the Language condition, select a language you want the bot to check for, and decide whether the language should be equal or not equal to a chosen position from the list. 



You can connect the condition with another action depending on the visitor's browser language. You can connect those noded by dragging the "yes" and "no" lines from the condition.


In the example below, the condition checks if the language is equal to Polish. Then it connects with the Send a chat message action through a yes connection. As a result, the bot will send the custom Polish message if the detected language is Polish. There is a second message set up, connected with the "no" line. This message will be sent if the visitor uses any other language as the default in their browser. In the majority of cases, that is English.


Multilingual bot for two languages

 

Naturally, your bot doesn't have to be limited to just sending a single translated message; it can go much further and include many other nodes and connections, according to what you need. For the purposes of a multilingual bot, the only important thing is to use a correctly set Language condition

Creating two different paths for two different scenarios ("yes" and "no") will help you ensure that both groups of your visitors receive similar (or identical) paths, the only difference being the translation. 

 

 A bot for three languages (or more)


When you want to create a bot that supports more than two languages - you will need to add more Language conditions to your bot and connect them similarly, as we explained above.


In the example below, each additional condition checks if the visitor's browser language is equal to a chosen language from the list.


The bot below can send a message in Polish, Dutch or Spanish - if that's the visitor's browser setting. If none of the languages is detected - the default message will be sent in English in this case. 


 

If you need your bot to include more language versions, you can add more Language conditions in place of the English Send a chat message action from the screenshot above. This way, you can create a bot that will be able to carry out actions based on many more languages!




If you still have some questions for our team after reading this article, don't hesitate to contact us.


Was this article helpful?