Localization
Two independent things
- UI chrome (buttons, menus, disclosure) is generated from shared ARB files and ships in 46 languages on every SDK. This is automatic.
- Curated content (bot name, greeting, disclosure text) is per-locale via
LocalizedTextfields:{ "defaultValue": "…", "translations": { "fr": "…" } }.supported_localeslists which locales have curated content — but the bot can still converse in all 46.
Which language shows
- If the host pins
currentLocale, that wins. - Else the SDK auto-detects the device locale when the project supports it.
- Else it uses
default_locale.
Live switching
dynamic_language_enabled (master switch) exposes:
- a manual language picker in the header (all 46 languages), and
- the bot’s
change_languagetool, which re-localizes the entire chat UI mid-conversation.
language_switch_auto_detect (sub-toggle) lets the bot switch proactively when a visitor clearly writes in another supported language — not only on explicit request. Turn it off to switch only when asked.
RTL
Right-to-left layouts are supported on Flutter/iOS/Android. (Web currently doesn’t force dir — see Feature parity.)