0

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 = "https://salesiq.zohopublic.com/widget?plugin_source=wordpress";
  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.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.