Showing different images for the same question in different languages | XM Community
Skip to main content

I have a survey in 3 languages and in one question, I show 2 images and ask which one is preferred.  The images have text on them so I have translations for each, making 6 images in total:

  1. Image 1 in English
  2. Image 2 in English
  3. Image 1 in Spanish
  4. Image 2 in Spanish
  5. Image 1 in Italian
  6. Image 2 in Italian

I have imported a translation for each language but I am only able to add in 2 images to the survey builder (the English ones), I have not been able to find a way to add the relevant images to show in Italian and Spanish.  In the translation view, there is no place to add the images with translated text.

Can anyone help please?

Thanks in advance

Hi @Arthur_Fletcher , You can first upload all the images in library and then simple create an embedded data in survey flow saying Image1_EN , Image2_EN, Image1_ES and so on and against them you can add the link of the image which would be stored in Library. Note:- Add the embedded data should be under the branch logic of each language as shown below. Then you can use this embedded variable in the question text. Then when a person takes the survey in particular language then it would show the respective image based on the language of survey taken.

 

 

Please let me know if this works.


Hi @Arthur_Fletcher ,

 

You can add the below text in the html source for each question/translation:

 

 

In English Question text in survey builder:

<img src=”www.img1.com_source_url”>

<img src=”www.img2.com_source_url”>

 

In translation for Spanish:

<img src=”www.img3.com_source_url”>

<img src=”www.img4.com_source_url”>

 

In translation for Italian:

<img src=”www.img5.com_source_url”>

<img src=”www.img6.com_source_url”>

 

Let me know if this approach works...


Hi to Naman and Sowrabh

 

I tried both solutions and both worked fine.  Going forward, I quite like the survey flow version as it easier for review/colleagues to see what happens.

 

Thanks

 

Arthur


Leave a Reply