How to get the text in different language in email template
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2023 04:00 AM
Hi Everyone,
In a template I message is present there..I need to have that message line(A new publication has been..) in different language..
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2023 04:19 AM
Hi @Utsav JAISWAL,
To make the word "A new publication has been" translated into different language you need enable the translation plugin first. Reference below document to enable plugin.
The static content within mail scripts that requires translation must be enclosed within the gs.getMessage() function. Corresponding translations for these strings should be readily available in the Message (sys_ui_message) table.
To disable token translation, create the glide.email.outbound.static_translation.session.language.change.enabled system property and set its value to false. This will prevent the translation of tokens embedded within mail scripts.
About the system properties, refer the below link.
To request translation for an email item:
- Locate the email item in the respective section:
- Notifications: All > System Notification > Email > Notifications
- Templates: All > System Notification > Email > Templates
- Layouts: All > System Policy > Email > Layouts
- Select the item you want to translate.
- Click Request Translation and choose the languages for translation.
- Click Submit.
Reference link : https://docs.servicenow.com/bundle/tokyo-servicenow-platform/page/administer/notification/task/reque...
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.