Localizing the mid tier
The mid tier picks up localized values, such as error messages, titles, menu labels, table page headers, application lists, and workflow messages from the server where the form is stored. To localize the mid tier, follow this process:
- Localize the mid tier messages in the mid tier property files, for example, LocalizedMessages_locale.properties.
You can find the .properties files for the localized languages that BMC supports in the midTierInstallationDir/WEB-INF/classes directory. - Localize the AR System Message Catalog form. (See Localizing-message-components-of-a-form-view.)
- Open the Advanced tab of the AR System Administration: Server Information form, and select the Localize Server check box.
- Localize the login and logout pages. (See below.)
Creating localized login and logout pages
Only one login.jsp and logout.jsp file exist in the mid-tier shared directory for all supported locales. Login and logout pages are localized based on the user's locale when they are loaded using the LocalizedMessages_locale.properties files. For example, if your browser language is set to ja, you receive a Japanese login page.
To localize the login.jsp and logout.jsp files for languages that Remedy does not support (for example, Vietnamese), create new .properties and new .js files for your locale as outlined in the following procedure.
To localize login and logout pages
- Make copies of the following files:
- LocalizedMessages_locale.properties file (found in the midTierInstallationDir\WEB-INF\classes directory)
- LocalizedMessages.js file (found in the midTierInstallationDir\resources\standard\javascript directory)
- Translate the strings in these files for your specific locale.
- Store the later versions of the files in their appropriate directory.
For example, if you wanted to localize the mid tier into Vietnamese, put the LocalizedMessages_KL.properties file into the midTierInstallationDir\WEB-INF\classes directory. - Set the locale in the AR System User Preference form.
- Make sure that your browser and operating system are set to the correct locale.
The next time a user accesses a form in a browser, the login page displays the localized version. Based on the translations of the strings in the new .properties and .js files, the mid tier automatically opens the login.jsp and logout.jsp pages in the correct language.