Need help with help text translation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2023 02:41 AM
HI All,
I need help with the translation of a help text. The help text should only be visible when we select 'laptop' choice in the field 'what do you need?'. If the user selects any other field then the help text should not be visible. I have written a UI policy for the same and used "g_form.showFieldMsg" to populate the help text, which is working fine.
However, we need to trnaslate the help text based on the language selected by the user. For this I have created a record in to the table "sys_translated_text", but still it is not translating the text to french.
Is this because I'm updating the help text through a script? what should I do to translate the help text?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2023 03:55 AM
Hello @sanga2
You need to create the translations of the help text within sys_ui_message table in ServiceNow.
The key here would remain same for both the messages, only the translation and language would differ here.
Following is the way you will use this key at the client side.
Please note that you need to paste the key in messages section, this allows the browser to cache this key so that next time it will not take much time to load the same message.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2023 04:49 AM
Hi @sanga2 ,
Help text is different and field messages are different.
If you need to translate field messages then try as suggested by Sandeep below.
If you need translate the Help text which will be available on Annotation tab of a variable then need to create a record in sys_translated_text table and table Name should be question and document is your catalog variable, field anme is help text.
Refer below
ServiceNow Community MVP 2024.
Thanks,
Pavankumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2023 12:05 AM
Hi @sanga2 ,
If my response helps you to resolve the issue close the question by Accepting solution and hit thumb icon. From Correct answers others will get benefited in future.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar