• Resolved cybersquad

    (@cybersquad)


    Hi, I’m trying to get the Tidio chat to work both in FR and EN on the website but in the integration javascript link, there is no mention or parameter specifying the language. So how should I proceed to fix this? Right now the chat always displays in EN even though I’m on the FR site.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support olektidio

    (@olektidio)

    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 🙂

    Thread Starter cybersquad

    (@cybersquad)

    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.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Multilingual’ is closed to new replies.