Translation of email notification - gs.getMessage('${comments}')

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2019 05:24 AM
Hi guys,
I need your help please.
I configured the Incident email notification Incident commented for ESS for all the different languages based on the Caller User Language.
Now, I'm testing it and I can't find the reason why the name of the fields in the table generated by the script incident_comments is not getting translated:
This is the part of the code in the script incident_comments:
template.print('<p><font size="3" color="#666666" face="arial">' + gs.getMessage('${comments}') + '</font></p>');
Question is: is it possible to get the proper translation based on what defined in the sys_ui_message table using the function gs.getMessage? If not, what do I need to use for doing it?
This is the record in the sys_ui_message table I have:
Thanks a lot.
Cheers
Alberto
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2021 05:10 AM
Hi!
Did you find a solution to this problem?
Regards
Richa

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2021 05:15 AM
Have a look at this article which I wrote a while back:
Return a message in a specific language, gs.getMessageLang()
Kind regards,
Mark
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
10-19-2021 05:57 AM
Hi
I could not find solution to this time stamp and additional comments coming from 'comments' field in your article.
Regards
Richa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2021 07:07 AM
If you use the Activity Formatter on your form rather than a Journal list field it should work as you need,
However could you please raise a Case on NowSupport (formally Hi) so we can track it,
Many thanks,
Kind regards
Director of Globalization Deployment, Internationalization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2023 07:14 AM
I am still struggling with this very same issue. Has anyone found a solution yet?