Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Email Notification Sent in French when user profile is French

Peter Williams
Kilo Sage

Good day everyone,

 

i have a Catalog Item that is in English, i also have the edit translations setup for French, so when a user is logged into the form with the French Language preference is set, they will only see the French translations.

 

However, those French translated text are not coming through onto the email notification that is sent out from the form. IE. the french translated variables from the Select boxes, Multi-choice items, etc....

 

 How can i do this? 

have the French translated choices to display on the email notification for the French Users and English showing for the user on their notifications??

 

 

 

8 REPLIES 8

or could i do this:

var myUserObject = gs.getUser();

var lang = myUserObject.getLanguage();

 

var conLegal= gs.getMessageLanguage(current.variables.conference_continuing_legal_education.getDisplayValue(), lang);

 

template.print(conLegal);

 

 

Arun_Manoj
Mega Sage

Hi @Peter Williams ,

1. Install the plugin I18N: French Translations.

2. Change the language in user table by default English.

3. Go to sys_ui_message table, create new message 

where Key is the English wordings, Language preferred, Message-- Translated working(french).

 

Please mark it as helpful, If the solution is fine.

Thanks

Arun

didnt work, the variables are still coming through as English and not french

 

Jim Coyne
Kilo Patron

Take a look at the "Multilingual email notifications" plugin.  That will allow you to create translated versions of your Notifications.  The platform will create a French version (or whatever languages you have translations for) of the email if a recipient has French as their preferred language and create an English one for those who prefer English.