- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2022 01:45 AM
Hi All,
I am adding option in one of the variable based on the logged in user country using addOption in Catalog client script:
Script is like:
if ((answer == 'JP') && (concent == 'I Consent')) {
//alert('4');
g_form.addOption("please_select_from_the_following", getMessage("Mental Disability"), getMessage("Mental Disability"));
g_form.addOption("please_select_from_the_following", getMessage("Non-Severe Intellectual Disability"), getMessage("Non-Severe Intellectual Disability"));
g_form.addOption("please_select_from_the_following", getMessage("Non-Severe Physical Disability"), getMessage("Non-Severe Physical Disability"));
g_form.addOption("please_select_from_the_following", getMessage("Severe Intellectual Disability"), getMessage("Severe Intellectual Disability"));
g_form.addOption("please_select_from_the_following", getMessage("Severe Physical Disability"), getMessage("Severe Physical Disability"));
}
and Translating these choices in sys_ui_message table:
But the changes are not reflecting on Portal while working fine on backend. Any suggestions please?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2022 02:22 AM
Yes indeed you need to add all of them to the Message field, comma seperated.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP
---
LinkedIn
Community article, blog, video list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2022 02:49 AM
Hi
Thanks for response, I added Texts in Message field but one of the choice still did not translated:
While I have translated in messages table also:
Also stores in Catalog Client Script's Message field:
What went wrong now. Any suggestions please?