how to get a variable in multiple languages in email notifications

flsn2
Tera Expert

Hi everyone, we are currently working on implementing email notifications, and we have a requirement to make them bilingual in both English and French.

 

The challenge I'm encountering involves the requested item table. When a user submits a request for an item, the notification is triggered, and we include the variable 'short description' in the email.

 

However, the issue is that the 'short description' variable appears either in English two times or in French two times. Is there a way to pull the value and display it in both languages for each section of the email ?

 

 

9 REPLIES 9

shyamkumar VK
Kilo Patron

@flsn2 ,

here is the good article on Multilingual Notifications 

 

https://www.servicenow.com/community/international-localization/dynamic-multi-lingual-notification-s...

 


Regards,

Shyamkumar

 

Please mark this as helpful and accept as a solution if this resolves your Ask.
Regards,

Shyamkumar

Hi thx but my issue is that the body of the email need to be in two separate languages with separate variable according to the language. so with short_description i'm getting it in french 2 times or english. thx

Sujit Jadhav
Tera Guru

Hello @flsn2 ,

In ServiceNow, you can configure email notifications to support multiple languages by utilizing message templates and translation capabilities. Here's a general approach to achieve this:

Create Message Templates:

Navigate to "System Policy" > "Email" > "Templates".
Create a new email template or edit an existing one that you want to support multiple languages.
Write the email content in the default language (e.g., English) in the template.
Enable Translation:

Ensure that the template is enabled for translation.
ServiceNow provides translation capabilities for email templates. You can enable translation by checking the "Translate" checkbox in the template form.
Add Translations:

Once translation is enabled, you can add translations for different languages.
Click on the "Translate Messages" related link on the template form.
Add translations for each supported language. Translate the email content into the desired languages.
Use Variables for Dynamic Content:

Use variables in the email templates for dynamic content that may vary based on the recipient or context.
ServiceNow provides various system variables that you can include in the email templates to dynamically populate information like record details, user details, etc.
Select Language Based on Recipient's Preferences:

You can configure ServiceNow to determine the recipient's preferred language and send the email notification in that language.
This can be achieved through user preferences or by implementing language detection logic based on user data.
Testing and Verification:

Test the email notifications in different languages to ensure that the translations are accurate and the dynamic content is rendered correctly.
Verify that the emails are sent in the appropriate language based on the recipient's preferences.
By following these steps, you can configure email notifications in ServiceNow to support multiple languages using message templates and translation capabilities. This ensures that users receive email notifications in their preferred language, enhancing communication and user experience.

 

If this Solution worked for you, Please mark Response as helpful & Accept the Solution

olimanalo
Mega Guru
Mega Guru

Hi @flsn2 ,


Can you give a sample screenshot of the fields you are using?

 

If those 2 are different fields, you can use that 2 fields in notification. If one field is the only available, you can create a custom field that will populate the translated value on the other and vice versa.

 

If this Solution worked for you, Please mark Response as helpful & Accept the Solution


Regards,

Oli