Is there anyway I can change the text on Submit button based on language selected by the user? | XM Community
Skip to main content

Is there anyway I can change the text on Submit button based on language selected by the user?

  • January 23, 2023
  • 6 replies
  • 617 views

Forum|alt.badge.img+3

Hi,
I got to create a multi lingual survey, we would like to give language selection option to the users. Is there anyway I can change the text on Submit button based on language selected by the user? Currently it is showing as 'Submit' - we want to display in Chinese language when user choose to take survey in Chinese language and so on. Please let me know if you may need any further details.
Thank you,
Kallal

Forum|alt.badge.img+3
  • Level 2 ●●
  • January 23, 2023

kghosh You can create. library message item with SUBMIT as text and it will get translated automatically to all the languages you have selected in your survey. You can then go to the block where the Submit button is located and change the Look and Feel for the block to the library item you just created. The correct translation of the text will be shown as long as the 'Submit' button text is a library item.


Forum|alt.badge.img+3
  • QPN Level 1 ●
  • January 23, 2023

Thank you for your advise. I am sure I am missing something. I changed this as Library message in the steps below but button text is not changing based on my language selection. Kindly help checking this.
1.jpg2.jpg


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • January 23, 2023

https://community.qualtrics.com/XMcommunity/discussion/comment/54410#Comment_54410Did you translate the library message into the languages you'll need?


Forum|alt.badge.img+3
  • QPN Level 1 ●
  • January 23, 2023

Hello TSAcc & TomG , Thank you for your guidance. It worked perfect. I had a code in CSS as to format the button text with a font which is not available in the target language. Thus it was not working. It worked with your solution as soon as I removed the custom code. Thank you so much and have a great day ahead.


Forum|alt.badge.img+3
  • QPN Level 1 ●
  • January 23, 2023

ArunDubey
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+40
  • QPN Level 8 ●●●●●●●●
  • January 24, 2023

Try this:
Create one hidden info note and mention text as "Next". Enter translation of "Next" text respective to each language. Then you can apply JS on header and can replace Next with Question text of that hidden info note. It will auto replace respective to each language.


Leave a Reply