Replies in the wrong language
If your bot answers in the wrong language, the fix is almost always one setting, plus one common misunderstanding about the embed code.
Where the language is set
Open your bot and go to Settings → Behavior → Language. There are three controls, and they apply in that order of priority.

- Force a language, the bot always replies in this one, whatever the visitor writes. Best if you serve a single market.
- Auto-detect (on by default), the bot matches the language of the visitor's message.
- Fallback, used when a short or mixed message is too unclear to detect.
The supported languages are Dutch, English, German, French, Spanish, Italian and Portuguese.
The common trap: data-lang
The data-lang attribute on the embed code only changes the greeting the widget shows first. It does not change the language the bot answers in. So if the replies are wrong, change Settings → Behavior → Language, not the embed snippet.
If all your customers speak one language, set Force to that language. It is the most predictable option, and it stops the odd English word in a question from flipping a whole reply.