Is there any update for this? It appears that Qualtrics no longer lets you pass a value to "Language" in this way. I have also noticed that Q_lang, which works in the URL, does not work once selected and set in the survey flow.
https://community.qualtrics.com/XMcommunity/discussion/comment/42485#Comment_42485Not sure what you are trying to do, but you are correct that Q_lang in the url (or Language in the contact list) will set the initial value. After that, you can control the language programmatically by using JS to set the value of the language selector. The current language will always in the embedded field Q_Language.
TomG
"....you can control the language programmatically by using JS to set the value of the language selector. "
Currently, I have used CSS (which I believe you posted to another question a fellow user asked, so thank you for that) to turn off the language dropdown, because there is sensitivity that not all languages be available to all respondents).
I am not sure how to accomplish a scenario in which depending on a combination of Location settings or responses, only select languages should be offered to respondents (EG: if Location=1 OR Q1=1, available language should be English only, but if Location=2 OR Q1=2, available Languages should be EN or TH only, if Location=3 OR Q1=3, available Language should be ZH-T only).
https://community.qualtrics.com/XMcommunity/discussion/comment/42489#Comment_42489Unfortunately, not all browsers support hiding select options. You can use JS to customize the language select. Start by piping Location and Q1 into your JS then based on the values do the following:
- If only one language should be available select the language and hide the select container.
- If more that one language should be available:
- If the current language is not one of the available languages, select one of languages as the default default language
- Disable AND hide the language options that shouldn't be available. On some browser they will be hidden and on others they will just be greyed out and not selectable.
You'll need to run the JS on every page (except on the Q1 page). Therefore, it would probably be best to put it in the header or footer.
Here's the solution we are setting up: The language question is a pre-survey, and uses an automatic redirect with the language code to the main survey. (Haven't fully implemented yet, but our initial tests are working).
- We will send out a single anonymous link to participants .
- The link will go to a Language pre-survey asking users to select a language (multiple choice with image)
- Create a separate "Branch" for each language answer.
- Create an "End of Survey" element for each "Branch". Customize to redirect to the main survey with the selected language's code added to the end of the main survey's URL:
- https://community.qualtrics.com/XMcommunity/discussion/6532/how-to-set-end-survey-message-to-redirect-to-different-urls-depending-on-eligibility
- https://www.qualtrics.com/support/survey-platform/survey-module/survey-tools/translate-survey/#SpecifyingTheParticipantLanguage
- This will automatically redirect the participant to the main survey, and use the translation for the participant's selected language.
- In the main survey, we set the Q_Language from the URL to use as embedded data. The main survey will also be able to use the language code for logic in the survey (e.g., display question, branching, etc.) if needed.
- https://www.qualtrics.com/support/survey-platform/survey-module/survey-tools/translate-survey/#DataAnalysisForTranslatedSurveys

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
