Help Needed: Manual Translation for Mail Scripts in ServiceNow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi everyone,
I’m trying to manually translate mail scripts in ServiceNow.
I’ve already tried using System UI → Message Keys and calling those keys inside my mail script, but it’s not working.
The translated text is not appearing in the email it still shows the default (English) version.
Has anyone done this manually before?
Please check the attached screenshot for reference.
Any suggestions or examples on how to properly reference message keys or static translated strings inside a mail script would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
did you try to use Multilingual email notifications?
Multilingual email notifications
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago - last edited 2 hours ago
Hello,
Your code seems fine, I would assume that the code is running as system defaulting to english.
Just check that you have your last sentence using translation as well which is not the case at the moment before to your mailto tag
Try the approach explained here using
gs.getMessageLang('message_key', 'language_id');
Docs here
Hope it helps
