Hi there!
Thanks for writing in 🙂
To change the language of a Chat widget, you will have to go to Settings > Live Chat > Appearance and scroll down to the Multilanguage section.
The widget will display in an appropriate language based on the visitor’s browser.
You can read more about it here: https://www.tidio.com/knowledge/admin-dashboard/multilanguage/
If you have a multilanguage site and want to widget match the site’s language you can set it by document.tidioChatLang property.
You will have to use this script:
document.tidioChatLang = document.querySelector("html").getAttribute("lang");
Script gets language from the HTML lang attribute and write it to document.tidioChatLang variable.
The script should be implemented in the same place that your Tidio Script 🙂
It works perfectly! Thank you so much, there is no way I could have guessed that.
It now follows the language of the site by simply having that in the footer.
<script src=”//code.tidio.co/jed85….xxxxxxxx……p3ic9j.js” async> </script>
<script>
document.tidioChatLang = document.querySelector(“html”).getAttribute(“lang”);
</script>
-
This reply was modified 5 years, 7 months ago by
cybersquad.