Need advice on translated emails for Password Reset process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-12-2025 10:52 AM - edited ‎02-12-2025 12:44 PM
We are implementing password reset for a custom portal. "Public" users register for the portal by providing a user name and password. If they forget their password or their password has expired, they will reset it. The portal has translations for 21 non-English languages. We created a "copy" of the original/default Password reset screens that are branded for the custom portal, including some Script Includes scripts. Once that was all working, I started on translations, beginning with Spanish as my "pilot." That was fairly easy and is working as expected. However, I'm not sure how to get ServiceNow to send the appropriate translated versions of the associated emails. I started by creating a Spanish version of the custom portal's Password Reset - Reset Link email in Spanish (translated versions of the Email template and Email notification). I tried just setting a "Language" condition for the two email notifications (the current condition for the original versions is currently "Language is not Spanish" and the condition for the Spanish version is "Language is Spanish." I appended "_es" (the language code for Spanish) to the name of the Spanish versions, but that may not be the right thing to do. This works as expected only IF the user record has Spanish as the language on their user record. It would be nice to have the email sent in Spanish IF the user selects Spanish from the language dropdown on the Password Reset request forms, regardless if their user account has Spanish as the preferred language (e.g., when they enter their user id and verify their email address). Is that possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2025 10:13 AM
I ended up creating a separate version of each email for each language (separate email template and email action/notification records. I created Excel file templates for both to import the data; the Excel email template file assembles the html, and the email notification record contains the coding to send the correct version based on the user's language. It's all working great.