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