Marc
My feedback
1 result found
-
430 votes
To All Our Valued Users, Thank you for choosing tawk.to and for reaching out. At the moment, we don't offer language selection before commencing a chat. Alternatively, create a chat widget for each language. Adding multiple widgets to a Property can be helpful when you want to customize your Widget to match different sections of your website, languages or settings. Each new widget you add will be in English by default. For each set of pages with a new language, you’ll need to create a new Widget and manually set the language. To learn more, visit this link: https://help.tawk.to/article/faq-why-add-multiple-widgets If you have any other questions, require assistance, or just want to talk to someone at tawk.to, here is our calendar link: https://calendly.com/tawk-to-support/tawk-to-customer-support. We're happy to help!
An error occurred while saving the comment An error occurred while saving the comment Marc commented
In the triggers control pannel, add an action wich make possible to load different assets. This will make possible to use different language in multi-language area.
As exemple I use french and english usualy in my web site. Depending if the customer is in french part of the site, I want to load the chat on his language.Marc supported this idea ·
Found a solution!!!
Its possible to use differents assets with different language and layout as you want. The probleme is just to call them at the right time.
So in javascript i'm asking which language is set in the navigator and depending if its in english or french I call the right src.
for exemple:
if (navigator.language = "fr")
{
s1.src = 'https://embed.tawk.to/5790e/1ao72tkf8';
}
else
{
s1.src = 'https://embed.tawk.to/5790e/default';
}
Hope it help you guys!