Multilingual support setup
Ada supports multilingual functionality so your AI Agent can communicate with users in multiple languages. You can choose which languages to support, set a starting language for web chats, and configure how the AI Agent detects and switches between languages.
Enable languages
- To get started, in the Ada dashboard, go to AI Agent profile > Languages.
- Under Available Languages, select the languages you want your AI Agent to support in addition to English (which is always enabled).
Best practice: Only enable languages your team can support. Make sure someone on your team can review conversations in each language to help evaluate performance and maintain quality.
Set your AI Agent’s starting language
The starting language is the default language your AI Agent uses to begin web chats. If most of your customers speak a language other than English, you can set that language as the default.
By default, all AI Agents start in English, but users can switch languages at any time.
Add the language to Embed2 script
You can change the AI Agent’s starting language by making a small addition to the Ada Embed2 script. You might already be familiar with it, but if you need a refresher, check out our Embed2 documentation. Let’s take a look at how to set up an AI Agent’s starting language to French.
-
Find the default embed script on your webpage. It should look like this:
-
To set the AI Agent language, add the following
window.adaSettings
snippet between the head and the script of the basic Ada Embed2 script, and add the language format code from the ISO 639-1 language format.Your revised Ada Embed2 script should look similar to this:
Language detection in web chat
Your AI Agent follows this order when deciding what language to start a chat in:
-
Embed2: If the Embed2 script specifies a default language, your AI Agent will use it.
-
Browser language: If no language is set in the Embed2 script, your AI Agent checks the user’s browser language.
-
Fallback to English: If neither is available, your AI Agent defaults to English.
Language detection in other channels
When default language settings aren’t available, your AI Agent uses Ada’s built-in language detection to identify the user’s language based on their input.