/
setLanguage
setLanguage
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/lib/livechatsdk.js?lang=en-gb"></script>
Parameters:
Name | Mandatory | Type | Description |
---|---|---|---|
lang | yes | string | Country code |
Example:
LIVECHAT.setLanguage("it");
, multiple selections available,
Related content
getGlobalLiteralsFromFile
getGlobalLiteralsFromFile
More like this
getTranscriptByChatID
getTranscriptByChatID
More like this
checkGlobalLiteralExistence
checkGlobalLiteralExistence
More like this
getLiterals
getLiterals
More like this
Installation
Installation
More like this