Docs / Widget
Languages and right to left
The widget in English, Arabic, French, Portuguese, Spanish and Indonesian: how the language is picked and how to force one.
Six languages
The widget's own labels come in English, Arabic, French, Portuguese, Spanish and Indonesian. Arabic reads right to left, and the whole panel flips.
Texts you write yourself (the title, greeting, away message, welcome bubble and quick replies) are shown as you wrote them, so write them in your visitors' language.
How the language is picked
data-langon the script tag, if set.- The website's language setting in Chatyol.
- Auto: the visitor's browser language, falling back to English.
<script src="https://cdn.chatyol.com/widget.js" data-key="pk_your_key" data-lang="ar" async></script>Hosted chat page
Add ?lang= to a hosted chat link: ?lang=ar, ?lang=id, and so on.
Other languages
Visitors can write in any language. With live translation, agents see each message translated into English and can send their reply in the visitor's language, with a preview first.
Something unclear or out of date? Email support@chatyol.com.