Custom message in HTML page is not localized

book

Article ID: 6027

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Risk Analytics CA Secure Cloud SaaS - Arcot A-OK (WebFort) CLOUDMINDER ADVANCED AUTHENTICATION CA Secure Cloud SaaS - Advanced Authentication CA Secure Cloud SaaS - Identity Management CA Secure Cloud SaaS - Single Sign On

Issue/Introduction

An IM task is configured for localization. All the attributes, such as task name, error fragment, confirmation fragment, etc are working fine when switching to another language. However, the header or footer wording in the task HTML page is still in English. For example, the below Forgotten Password task is in Spanish, but the message remains in English:

 

<Please see attached file for image>

capic1.PNG

 

 

Environment

IM R12.6.8

Resolution

1. Modify IMSResources properties files under <IM app path>\iam_im.ear\custom\resourceBundles with a unique key appended to the end of the file, for example 

For English message, open IMSResources-en.properties or IMSResources.properties, depending on what you have in your environment and add: 

 

html.setHeader = Please enter the registered email address used to register in CATECH system. A link to reset password will be sent to your registered email address. 

<Please see attached file for image>

src="/servlet/servlet.FileDownload?file=0150c000004AK2AAAW" alt="capic2.PNG" width="1203" height="295">

For Spanish message, open IMSResources-es.properties and add: 

 

html.setHeader = Por favor ingrese la dirección de correo electrónico registrada utilizada para registrarse en el sistema CATECH. Se enviará un enlace para restablecer la contraseña a su dirección de correo electrónico registrada. 

<Please see attached file for image>

src="/servlet/servlet.FileDownload?file=0150c000004AK2BAAW" alt="capic3.PNG" width="1198" height="337">

 

Repeat the same for other languages you need. 

Note: the key in the properties file, for example, html.setHeader, must be unique. If you don't want to call it html.setHeader, you can make up whatever meaningful to your environment, but it must be unique. 

 

2. Modify the related task, e.g Forgotten Password Reset task: 

Add the key into the text field “Enter HTML to appear at the beginning of the page” or “Enter HTML to appear at the end of the page” as below: 

${bundle=resourceBundles.IMSResources:key=html.setHeader} 

 

<Please see attached file for image>

src="/servlet/servlet.FileDownload?file=0150c000004AK2CAAW" alt="capic4.PNG" width="1204" height="854">

3. Save the change and restart IM application. 

 

4. Verify the message is displayed in the correct language.

Attachments

1558707824266000006027_sktwi1f5rjvs16qu0.png get_app
1558707822353000006027_sktwi1f5rjvs16qtz.png get_app
1558707820636000006027_sktwi1f5rjvs16qty.png get_app
1558707818592000006027_sktwi1f5rjvs16qtx.png get_app