Localization of Notifications - Email Scripts

oip976
Tera Contributor

Hi there,

 

We want to translate our Email Notifications in multiple languages (manually) using the localization framework.

We configured already the settings using the ootb artifacts (Email Layout Config, Email Notifications Config, Email Template config). 

We use in most auf our notifications in the message_html  email scripts. 

These email scripts are currently not considered by the related LF processor, right?

So, all strings included in a mail script need to be added to the sys_ui_message table manually?

 

Is there any intend to extend the current LF processor to fetch also the gs.getMessage from the mail script and provide these in the UI comparison view?

 

thx 

1 REPLY 1

Alex Coope - SN
ServiceNow Employee
ServiceNow Employee

hi @oip976,

So, this comes down to best practices. When it comes to translating email notifications, if you have used mail_scripts in notifications then indeed you won't be able to translate them via the Framework. The best practice part comes in by asking "is it strictly needed to have details from the source task record in the notification?". 

It could be argued that if you want to drive traffic to your portal, then a simple static piece of text along the lines of:

  • Thank you, [record] has been created, click here to follow it
  • Your [record] has been updated, click here for more info
  • Your [record] has been resolved, click here for more info
  • your [record] has been closed / completed, click here for more info

would be sufficient and simple yet effective to convey both the purpose and intent of the notification whilst also driving traffic to the portal.

If, you absolutely have a requirement to include information from the source record in the notification, there we have a blog post that goes into some much more advanced concepts of multi-lingual notifications here,

Many thanks,
Kind regards

--------------------------------------------------------------------
Director of Globalization Deployment, Internationalization