admin管理员组文章数量:1293315
I have implemented the Zoho SalesIQ chatbot on my website using a script in my HTML. However, I am facing an issue with translation when switching between Arabic and English.
When I switch to the Arabic page, the text inside the chatbot conversation does not change to Arabic, and similarly, when switching back to English, the conversation text does not update to English.
Interestingly, the placeholder text inside the chatbot updates correctly according to the selected language, but the actual conversation text remains unchanged.
Here is the script I am using:
<script type="text/javascript" id="zsiqchat">
var $zoho = $zoho || {};
$zoho.salesiq = $zoho.salesiq || {
widgetcode: "siq<code>",
values: {},
ready: function() {}
};
var d = document;
s = d.createElement("script");
s.type = "text/javascript";
s.id = "zsiqscript";
s.defer = true;
s.src = ";;
t = d.getElementsByTagName("script")[0];
t.parentNode.insertBefore(s, t);
</script>
I tried setting the language manually using:
$zoho.salesiq.language = 'ar';
Expected: The conversation text inside the chatbot should switch to Arabic when the language is set to Arabic and vice versa for English. Actual Result: Only the placeholder text updates, but the conversation text remains in the original language.
本文标签: javascriptZoho SalesIQ Chatbot Not Changing Conversation Text on Language SwitchStack Overflow
版权声明:本文标题:javascript - Zoho SalesIQ Chatbot Not Changing Conversation Text on Language Switch - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741575727a2386270.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论