Getting rid of language changing option in survey | XM Community
Skip to main content
Solved

Getting rid of language changing option in survey


I really don't want my participants to be able to switch languages during the questionnaire thanks to the change language bar that appears...Apparently it's possible to code this out...I don't even know how to start though...Would anybody have some tips ?

Best answer by TomG

Add this to Add Custom CSS under Look & Feel/Advanced: ``` .LanguageSelectorContainer {display:none} ```
View original

16 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • Answer
  • April 9, 2018
Add this to Add Custom CSS under Look & Feel/Advanced: ``` .LanguageSelectorContainer {display:none} ```

  • Author
  • 3 replies
  • April 9, 2018
It doesn't seem to be working...Could there be something I am missing ?

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • April 9, 2018
You've done something wrong. I've made my original post a bit more specific.

  • Author
  • 3 replies
  • April 9, 2018
Thanks yes I had! Thank you so much!

  • 1 reply
  • April 5, 2019
Dear TomG, I have a similar problem with one modification. I want to permit survey participants to select their language of choice in the first question, but not change the language in subsequent questions. Do you have a similar code that would keep the Language Selector Container on Q1 but remove it elsewhere? Appreciate any advice you might have!

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • April 6, 2019
@curriewr, You could add JS to a question on the first page to un-hide the Language Selector. I think this will work: ``` jQuery(".LanguageSelectorContainer").show(); ```

  • 2 replies
  • April 7, 2020

Hi. If I have my survey done in English and translated to Chinese and I only want the Chinese translated survey to appear for participants without them being able to choose between Eng & Chinese, how should the coding look like?


  • 1 reply
  • July 21, 2021

Good morning, I am having no luck pasting .LanguageSelectorContainer {display:none}. Is this still the correct way to be removing the language selection box?


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • July 21, 2021

Forum|alt.badge.img+1

Hi there, is there a way to hide the language menu for only a selection of people based on metadata? For example, I want those in Germany to not be able to switch languages.


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • March 28, 2022

https://community.qualtrics.com/XMcommunity/discussion/comment/44980#Comment_44980You can use JS. If you have an embedded field named cc with the country code. Then:
if("${e://Field/cc}"=="DE") {
jQuery(".LanguageSelectorContainer").hide();
}


Forum|alt.badge.img+1

https://community.qualtrics.com/XMcommunity/discussion/comment/44981#Comment_44981Does this work if I don't have a country code embedded data field but i do have "country"? The below doesn't seem to be working but I think it may be user error.

if("${e://Field/Country}"=="Germany") {
 jQuery(".LanguageSelectorContainer").hide();
}


Forum|alt.badge.img+1

https://community.qualtrics.com/XMcommunity/discussion/comment/44984#Comment_44984Actually.. is it that I am not putting in the right place? I have this under look and feel style custom CSS


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • March 28, 2022

https://community.qualtrics.com/XMcommunity/discussion/comment/44985#Comment_44985You'll need to put it in the survey header (Look & Feel - General - Header - Edit (source mode <>):


Forum|alt.badge.img+1

https://community.qualtrics.com/XMcommunity/discussion/comment/44986#Comment_44986Thank you so much! Any idea why this wouldn't be working? Does it matter that we are using SSO to authenticate? I put it in the header in the source mode.


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • March 28, 2022

Leave a Reply