Language in email notifications to groups

MentZ
Kilo Expert

I have made a notification, which triggers when 'Assigned to group' changes inside an incident. When it is triggered, it should send out an email to members inside this assignment group. This works well.

find_real_file.png

But the issue is that even tho all the members have selected German as theire default language, the email is sent out in English.

I have used gs.getMessage() on every text-element, and everything is translated. But the email is sent out in English no matter what. Anyone have any clue why?

1 ACCEPTED SOLUTION

Alex Coope - SN
ServiceNow Employee
ServiceNow Employee

@MentZ,

I actually posted about this on my blog a little while ago (check the scripted section at the bottom for my watchlist example, you can apply the same logic for group members) - here,

Many thanks,
Kind regards

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

View solution in original post

7 REPLIES 7

@MentZ,

Oh we have, it's just a very complicated concept because there's not really a one size fits all solution, 

Many thanks,
Kind regards 

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

Well, this case of sending e-mail to groups in different languages shouldn't be a big issue to fix - just iterate through the recipient field, and generate e-mails per the preferred language of the users.

The simplicity of a potential solution makes me wonder what Servicenow engineers are thinking.

on the JavaScript side, it might sound easy to just write a Business Rule to do that, but when you consider that a group could potentially have hundreds of members + 10's of different languages to check there's the performance considerations + the administration of email templates to also consider (per notification, per event, per trigger),

On paper it might appear easy but in practical terms it's quite complex I assure you,

Many thanks,
Kind regards

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