Translation based on domain not on browser language | XM Community
Skip to main content

Hello lovely community :)
We would like to play out an onsite survey in the corresponding national language depending on the domain visited. Currently, the user's browser language (Q_Language) is the basis for deciding which translation is triggered. This is not optimal for us.
Is there a possibility to use the domain as a trigger for the translation instead of Q_Language?So that we display the survey translated into Spanish on domainname.es, although the browser language is still German?
Using embedded data to fix this unfortunalety is limited to questions.
I can not change Button-text, error messages and system messages based on the domain.
Especially when i use the question type 'Screen capture' i have elements that i can not simply change via embedded data:
wc2ec.pngwcwcw.pngIs there a way to also change this elements related to the domain?
Many greetings.
Stefan

Stefan_idealo
Not sure if you have already checked the advanced language options. You can set this on your website in a variable and Qualtrics would know in which language do we need to show the intercept in.
image.pngHope it helps!


Hey Deepak,
thanks a lot for that idea :)
Unfortunalety, the content that we wanna translate comes directly from the survey itself and not from the creative that is shown. So it's important that use another trigger than "Q_language" for the decision which langauge is shown or we kind of manipulate the value that is automatically set via the Q_language.
Via following your tip i was stumbling over this advice. I guess it could be the answer to my question, but unfortunalety it doesn't seem to work:
grafik.png
Best,
Stefan


https://community.qualtrics.com/XMcommunity/discussion/comment/52535#Comment_52535The Qtip is to push the browser language into the survey record if you have a javascript variable that contains the language code.
Now based on this language code you could switch the survey language.
My advice would be to do something like this. Since you wanna base it on URL.
Check for the URL push it in browser using JS
Now using this URL hardcode the value of Q_language and switch the language. It can be done via JS as well.
Not tried but I am sure it would work.
Hope it helps!


Hey Depaak,
thanks for bringing that up. Sounds really interesting. I will have a chat with my developer coleague about your input and hope he can support me there.
Thanks so far :)
Best
Stefan


Leave a Reply