Set the user interface language.
Note: it’s possible to sets the initial user interface language by passing it as a query string parameter when downloading the SDK
<script src="https://mywebsite.com/livechat/livechatsdk.js?lang=gb"></script>
Parameters:
Name | Mandatory | Type | Description |
---|---|---|---|
lang | YES | STRING | Country code |
Example:
LIVECHAT.setLanguage("it");