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

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

  • Jan 23, 2023 6:56 PM UTC
  • 6 replies
  • 870 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

6 replies

Forum|alt.badge.img+3
  • Level 2 ●●
  • Jan 23, 2023 7:16 PM UTC

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
  • Author
  • QPN Level 1 ●
  • Jan 23, 2023 7:46 PM UTC

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 ●●●●●●●●
  • Jan 23, 2023 8:41 PM UTC

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
  • Author
  • QPN Level 1 ●
  • Jan 23, 2023 9:02 PM UTC

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
  • Author
  • QPN Level 1 ●
  • Jan 23, 2023 10:41 PM UTC

ArunDubey
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+41
  • QPN Level 8 ●●●●●●●●
  • Jan 24, 2023 1:26 AM UTC

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.