Previous Topic: Localizer ClassNext Topic: PasswordCondition


Use the Localizer Class

You can use the Localizer object from your custom code or from a JSP file for a new skin.

To localize a new skin

  1. Add the localized strings to the IMSResources bundles provided with CA IdentityMinder and to any custom bundles you have. Assign each localized string to a unique property ID, for example:

    skin.header.companyName=My Company

  2. Use the Localizer class to extract a localized string. The string is retrieved from the resource bundle for the locale associated with the Localizer object. For example:
    <%@ page import="com.netegrity.ims.util.*"%>
    <% Localizer l10n = Localizer.getInstance();%>
    <b><%=l10n.getLocalizedString("skin.header.companyName")%></b>