1054 Views

Changing the widget language via API

In Dashboard Settings, you completely can select language auto-detect mode to display language basing on visitor’s country. But this setting doesn’t work properly all the time.

To bring the best experience to visitor when coming to website, one more language displaying mode is supported using API

You can insert the following code:

Replace en by the language code that you want to set to display on the page.

For instance:

Screenshot-from-2016-02-02-174139

In the following table, Subiz gives you all supported language on chat widget and corresponding code.

Language

Code

Arabic (العربية) ar
Bahasa Indonesia id
Chinese (Simplified – 中文) zh
Deutsch de
English en
Español es
Français fr
Italiano it
Persian (فارسی) fa
Português pt
Thai (ไทย) th
Tiếng Việt vi
Wikang Tagalog tl