How to make a question like this in 2 languages.

MargitMargit Community Member Qubie ✭

How to make a question like this in 2 languages.

Hallo,

I tried to do a question like the one above and used the javascript code:

Qualtrics.SurveyEngine.addOnload(function() {

   jQuery("#"+this.questionId+" div.QuestionBody").after('<margin:0px 20px">people before my experience gets spoiled.</div>');

});

However, I have my questionnaire in 2 languages and I don't manage to get program that. I would appreciate your help.

Kind regards,

Margit

Answers

  • TomGTomG Raleigh, NCCommunity Member Wizard ✭✭✭✭✭

    Create a MC question at the beginning of your survey where the choices are text you need translated in JS and translate it. Then hide it with display logic. Pipe the choice text from the MC question into your JS. The text will then be translated into the current language when a respondent takes the survey.

Sign In to Comment