Question
How do I manually set the language of my Web Widget (Classic)?
Answer
The widget language is set automatically by default based on the customer's browser. To manually set the language of the widget instead, follow the directions below for the widget you have on your account.
If you use the Web Widget (Classic) with a Support account
To customize the Web Widget (Classic) so that it always appears in a specific language regardless of your customer's browser language, use the setLocale command as in the example below.
<script type="text/javascript">
zE('webWidget', 'setLocale', 'LANGUAGE_CODE');
</script>
For more information, see the developer documentation for the setLocale settings. For a complete set of instructions, see the article: Advanced customization of the Web Widget (Classic).
If you use a chat-only Web Widget (Classic) account
To set the language for a Chat-only Web Widget (Classic), you will need to use custom code. See this guide in our developer portal for more information: Changing the widget language for chat-only accounts.