Edit the language text within the language selection dropdown menu | XM Community
Skip to main content
Solved

Edit the language text within the language selection dropdown menu

  • June 27, 2024
  • 2 replies
  • 100 views

Forum|alt.badge.img+3

How can I edit the text within the language selector menu within a survey?
We currently use English UK, so the dropdown menu of the language selector tool shows:

  • “English (United Kingdom)” which is language one.
  • “Nederlands” - Meaning: Dutch, which is language two.

Example:

 

We would like to only show the text/string English, not English (United Kingdom). I tried with a jQuery within the header, but was not able to change the text. I'm probably using the wrong jQuery: jQuery("#Q_lang" .QuestionText").html("English");

That jQuery also does not focus on just the English string.

Hope you can help, many thanks in advance!

Best answer by TomG

Put this in your survey header or footer:

<script>
Qualtrics.SurveyEngine.addOnReady(function() {
jQuery("option[value=EN-GB]").text("English");
});
</script>

 

 

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6084 replies
  • Answer
  • June 27, 2024

Put this in your survey header or footer:

<script>
Qualtrics.SurveyEngine.addOnReady(function() {
jQuery("option[value=EN-GB]").text("English");
});
</script>

 

 


Forum|alt.badge.img+3
  • Author
  • Level 2 ●●
  • 15 replies
  • June 27, 2024

Many thanks, worked like a charm!