Changing the widget language via API Follow

Comments

2 comments

  • Avatar
    Suaionwork

    Hi, I used the above Settings to display error messages in my HTML page."Zopim is not defined," what should i do?

  • Avatar
    Gab Guinto

    Hi,

    Are you trying to implement this on your web widget? The script above is actually for the standalone Chat widget.

    If you are using this with the Support Web Widget, then you should enclose it with zE(function() {...}. It should look like this: 

    <script type="text/javascript">
    zE(function() {
    $zopim(function() { $zopim.livechat.setLanguage('en'); });
     });
    </script>

    Hope this helps. Thank you!

Please sign in to leave a comment.

Powered by Zendesk