Notifications in different language with subject

Hi IDN Team,

How to change language for subject in email notification.

Hi Sunil,
I doubt this is supported in IdentityNow.

Thanks

Hi Sunil,

You can use Apache Velocity conditional statements in email templates to alter the subject or body of the email based on identity attributes. As long as you provide the language translation, you can use a velocity expression like this to change the subject language based on the user’s location.

#if( $user.location == 'France')Bonjour ${user.name}#{else}Hello ${user.name}#end

Just make sure you reference the correct identity attribute in your tenant that indicates the identity’s location. In my example I used $user.location, but you may have a different identity attribute in your tenant, like $user.country.

You can also check out this post that is similar to what you are asking about.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.