Custom message in HTML page is not localized

Document ID : KB000006027
Last Modified Date : 14/02/2018
Show Technical Document Details

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:





IM R12.6.8

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 or, 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. 


For Spanish message, open 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. 



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: 




3. Save the change and restart IM application. 


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