How to create multiple languages in ChatBot

Ada Lembicz Product Expert
Ada Lembicz
3 min read
updated: Jan 11, 2023

The ChatBot platform allows you to communicate with customers all over the world. In this article, you’ll learn how to add a new language to your story using two methods.

Method 1: Adding filters inside Bot responsesLink icon

  1. Add a Bot response with Buttons or Quick replies and ask the visitor to choose the language.

  1. Click one of the Buttons and enter the language as the name. Then select the Button type as Send message and add the postback value - it should be the same as the name of your language. Do that for every language you want to add and save your changes.

  1. Add a User input, click on the block and select the curly brackets icon. 

  1. Choose the Parameter validation as Any, and in the Save to attribute section, choose Add custom attribute. Name your attribute (for example: selected_language), choose Add Attribute and then Done. Save your changes.

  1. Add another Bot response where you’ll greet the customer in different languages. In this example, we’ll add a separate button response for each language and give the user an option to get more information about our location or working hours. 

  1. Once the buttons are added, click the Add filter option at the top of one of your language options, choose the attribute you created before (in this example, it’s selected_language) and enter the value of the postback from the second step (the name of the language). Choose Apply filter

  1. Do that for each language and save your changes.

Method 2: Duplicating interactions Link icon

If you already have your story created in one language, you can use the duplicating option to add another language easily.

  1. At the beginning of your story, add a Bot response with Buttons or Quick replies and ask the visitor to choose the language.

  1. Click one of the buttons, enter the language as the name, select Button type as Send message and add the postback value - it should be the same as the name of your language. Do that for every language you want to add and save your changes.

  1. Add a User input, click on the block and select the curly brackets icon. 

  1. Choose the Parameter validation as Any, and in the Save to attribute section, choose Add custom attribute. Name your attribute (for example: selected_language), choose Add Attribute and then Done. Save your changes.

  1. Add one Filter block for every language you want to implement in your story and add it after your User input.

  1. Right-click on the block you want to duplicate and choose Duplicate single block or Duplicate with children if you want to translate a whole flow. 

  1. Add it to one of the previously created Filter blocks.

  1. Click on the Filter block, choose the Add new filter option and select the attribute you created before (in this example, it’s selected_language). Enter the value of the postback from the second step (the name of the language). Choose Apply filter and Save your changes.

  1. Do that for each filter block to match the language.

  2. Translate your block or the entire flow if you selected that option.

Was this article helpful?

Got it!

Thanks for your feedback.

Thank you!

We’re happy to help.

Start a free ChatBot trial
and build your first chatbot today!

Free 14-day trial No credit card required

Discover our other products