Developer: How to add multilingual chat

Signup for a free 18-days trial today

Developer: How to add multilingual chat

In Knowledge base >

You are able to define a specific language in a tag, thus adding support on multilingual websites.

In your javascript tag, add before </script> the variable cs_language (required) with a valid language code. See the example below:

<script type="text/javascript">
		var scrs=d.getElementsByTagName("script");var scr=scrs[scrs.length-1];var e=d.createElement("script");e.async=true;e.src=("https:"==document.location.protocol?"https://":"http://")+""+scrs.length;
		if(typeof c=="function")if(e.addEventListener)e.addEventListener("load",c,false);else if(e.readyState)e.onreadystatechange=function(){if(this.readyState=="loaded")c();};
	// Below is the language code for Danish
	var cs_language="da";

Related entires

View all