Setting up Multi-lingual Chatbots
A quick guide on setting up multilingual chatbots if you have multilingual webpages.
Last updated
A quick guide on setting up multilingual chatbots if you have multilingual webpages.
Last updated
Wonderchat supports multilingual websites, allowing you to use a single chatbot across multiple languages. This guide demonstrates how to implement a versatile chatbot that works seamlessly with all languages on your site.
Navigate to your Dashboard and enter the "Edit Chatbot" page.
Once you've entered the "Chatbot Settings" page, go to the "General" tab
Set "English" as the base language. This acts as a universal setting, allowing the chatbot to understand queries in multiple languages and to respond in the user's language automatically.
Note: English is recommended as the base language for multilingual support. However, you can choose a different base language if needed.
To configure one chatbot to speak multiple languages, adjust the greeting message based on the page language.
Here's how:
Set up your chatbot in the dashboard.
Click on "Embed to Website".
In the embed code, add a data-greeting
parameter to override the default greeting:
Use this customized embed code on your language-specific pages.
For example, here is how you can use a French greeting on pages that mainly use the French language.
The bot will greet with "Bonjour", which you can switch this to whichever language in the different language domains of your website.
As long as the greeting message is displayed in the same language of the webpage, your users would be able to interact with the bot in their native language.
You can copy and paste the same widget code, and make edits to the script parameter (data-greeting="Hello there!") to reflect the greeting in the language of your choice.
If you have any more questions, feel free to reach out to us at support@wonderchat.io