• Resolved gunivortus01

    (@gunivortus01)


    Hi,
    Because I am using the multilingual plugin WPGlobus, I’ve set in Tidio the same three languages. However, changing language at the language-switcher at my site does not change the language in Tidio.
    Is there a solution for it?
    (It would be sad to remove Tidio because of that).

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

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

    (@olektidio)

    Hi there!

    Thanks for writing in.
    When you add the languages in the Multilanguage section in Settings > Live Chat > Appearance, then the languages will change based on the browser language of the visitor, not the language of the website.

    If you want the language to be changed based on the HTML lang attribute on your website, then you will have to implement our API code for that. You can find that code here:
    https://docs.tidiochat.com/#widget-language

    Hope this helps solve your problem! We would hate to lose you ??

    Have a nice day and take care!

    Thread Starter gunivortus01

    (@gunivortus01)

    I understand the difference. Thanks.
    However, Using NordVPN I set my browser to the three countries of the languages I have set in Tido, but the language of the chat window in the browser did not change.
    Even strange, VPN set to the Netherlands (Dutch), In Edge Tidio shows English, in Chrome it shows German.

    As to the API link you provides, I only know API from some key that I have to put in a window, like Google APIs. On the link I only see some code (php?), and I am no coder at all, never even look in a php file.
    So I do not understand what exactly has to be placed in what file in the WordPress plugin.

    Plugin Support olektidio

    (@olektidio)

    Your IP location is not always the same as your browser language, so it is always worth it to check the browser language manually. Please also make sure that you have only one instance of your website opened at a time so that cache is not getting mixed up.

    As for the code, it should be placed in the footer.php file of your WordPress project.
    It is best to put it right at the beginning of the <body>. If it does not work in the <body>, please try in the <head> instead.
    document.tidioChatLang = document.querySelector("html").getAttribute("lang");

    If you are not able to implement the code, please consider contacting a web developer.
    Let me know in case you need anything else!

    Thread Starter gunivortus01

    (@gunivortus01)

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Multilingual not working’ is closed to new replies.