Recuperar as configurações atuais de idioma
Articles related to customization are written for a technical audience who have experience in web development. Knowledge of HTML, CSS, and JavaScript are required.
Saiba mais sobre o artigo Como recuperar as configurações de idioma atuais.
Arquivo para edir: LanguagesForChatOnlyMode.js
var ic_hic_demo_timer = null; ic_hic_demo_timer = setInterval(ic_hic_demo_timer_checkobject, 100); function ic_hic_demo_timer_checkobject() { if ((ICObject != null) && (ICObject.pLanguageSelection_a != null)) { clearInterval(ic_hic_demo_timer); ICObject.MyCustomDiv = document.createElement("div"); ICObject.MyCustomDiv.className = "demoButton"; ICObject.MyCustomDiv.onclick = function () { ic_hic_demo_getLang(); } ICObject.MyCustomDiv.innerHTML = "Get<br />Lang"; ICObject.pMainContentArea.appendChild(ICObject.MyCustomDiv); } } function ic_hic_demo_getLang() { for (var key in oLangNameArray) { if (oLangNameArray[key] == ICObject.pLanguageSelection_a.innerHTML) alert(key + ", " + oLangNameArray[key]); } }
Arquivo para edir: InstantChat.css
.demoButton { position: absolute; left: 94px; top: 32px; width: 50px; height: 43px; text-align: center; cursor: pointer; background-color: red; z-index: 2000; }
Note: Consulte mais informações sobre os idiomas do Instant Chat no artigo Acompanhe o idioma dos clientes com o formulário do canal.
Article last updated: 27 September, 2022
You are viewing the latest version of this article.