Example of Translating Tokens for Journey Alerts

You can display translated token values in the subject and body text of the journey alerts notification in the preferred language of the alert’s recipient.

For example, if the user's preferred language is French, you can display the token values in French instead of the default environment base language. This example procedure describes how you can translate the journey name token value to French and display it in the subject and body text of journey alerts notification. To do this, follow these steps:

Create Alert Template in French Language

  1. In the Setup and Maintenance work area, search and click the Manage HCM Alerts task name.
  2. Search and select the ORA_CHK_CHECKLIST_INITIATED alert for which you want the journey name token to be translated.
  3. In the Action drop-down list, click Edit.
  4. On the Templates tab, click Add Template.
  5. Enter the alert template name, and select the default language as French.
  6. Leave the enabled value as is, and in the Edit drop-down list, select Manage Recipients and Message.
  7. Click Add Recipient.
  8. Select Mail as the communication method, and enter the expression.
  9. Leave the format as HTML and enter the subject of the mail alert.
  10. Enter the message text for the alert. You can include images, modify the text font, size, color, placement, and so on.
  11. Click Apply, and then click Save and Close.
  12. Click the Translation Editor icon for the alert template you created, and select the language as French.
  13. Click Apply, then click Save and Close.

Translate Journey Name in Alert Recipient Language

  1. On the application home page, click the My Client Groups tab.
  2. Click Show More after the list of quick actions.
  3. Click the Checklist Templates quick action in the Employment area.
  4. Click Create to enter details of the journey template.
  5. Click the Translation Editor icon in the page header region.
  6. Enter the translated text for the journey name in the French field, and then click OK.
  7. Click Save and Close, and then click Done.

Associate Alert Template and Journey

  1. Click the Message tab.
  2. In the Template for Assigned Checklist field of the Alert Templates section, select the alert template you created in the Create Alert Template in French Language section of this topic.
  3. Click Save and Close, and then click Done.

After you perform these steps, the alert’s recipient (whose preferred language is set as French) will receive the email notification with the journey name token value translated in French once the journey is assigned to them.

Points to Consider

  • If you want to display a token value in a language other than the base language, you need to first translate the token value in that specific language. For example, if you use the journey name as a token in your alert, then the journey name must first be translated in the required language on the journey template setup page.
  • You need to translate the alert template in the language that you want the alert to be generated in.
  • The token values will be translated in the recipient’s preferred language at the time the alert is generated. If the preferred language is changed later on, it will not impact the already generated alert content.
  • The language used in the current session won’t impact the language of the generated alert.