

Programming Guides › Programming Guide for Java › Support Objects › Localizer Class › Use the Localizer Class
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
- 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
- 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>
Copyright © 2013 CA.
All rights reserved.
 
|
|