Customizing chat windows for different languages
How do I customize multiple chat windows for different languages
- Create a new chat window for each language you would like to support in Admin Panel-> Chat ->Chat windows
-
Please customize pre-chat, post-chat, system messages and automations sections for each chat window to match your language.
- Add and configure Post Chat Surveys for each language(recommended)
- Finally, get your code for the newly created chat window in Admin Panel > System Setup > Website code
Please generate a new embedded widget code for each language (chat window, survey) you created in the 3 previous steps.
If your website is not partitioned by language, meaning you do not have dedicated website or page to each language supported and would like to provide a selection on the same page for the visitor to select a language to chat please install Embedded widget code linking to the main organizational language and department (such as English) and provide language selection this way:
<a href="#" onclick="lhnJsSdk.options.dept = DEPARTMENTID; lhnJsSdk.options.chatWindowId= ChatWindowID ; lhnJsSdk.refresh(); lhnJsSdk.openHOC(); return false;">English Chat</a>
<a href="#" onclick="lhnJsSdk.options.dept = DEPARTMENTID; lhnJsSdk.options.chatWindowId= ChatWindowID ; lhnJsSdk.refresh();lhnJsSdk.openHOC(); return false;">Russian Chat</a>
<a href="#" onclick="lhnJsSdk.options.dept = DEPARTMENTID; lhnJsSdk.options.chatWindowId= ChatWindowID ;lhnJsSdk.refresh(); lhnJsSdk.openHOC(); return false;">Spanish Chat</a>
<a href="#" onclick="lhnJsSdk.options.dept = DEPARTMENTID; lhnJsSdk.options.chatWindowId= ChatWindowID ; lhnJsSdk.refresh();lhnJsSdk.openHOC(); return false;">Arabic Chat</a>
<a href="#" onclick="lhnJsSdk.options.dept = DEPARTMENTID; lhnJsSdk.options.chatWindowId= ChatWindowID ; lhnJsSdk.refresh();lhnJsSdk.openHOC(); return false;">Chinese Chat</a>
<a href="#" onclick="lhnJsSdk.options.dept = DEPARTMENTID; lhnJsSdk.options.chatWindowId= ChatWindowID ;lhnJsSdk.refresh(); lhnJsSdk.openHOC(); return false;">Italian Chat</a>
<a href="#" onclick="lhnJsSdk.options.dept = DEPARTMENTID; lhnJsSdk.options.chatWindowId= ChatWindowID ;lhnJsSdk.refresh(); lhnJsSdk.openHOC(); return false;">Japanese Chat</a>
DEPARTMENTID is department you would like to visitor connected with and ChatWindowID is Chat Window ID setup in step #1
Paste the code on your website matching the language for the chat window you generated the code for.