How to set localization (Resource Bundle) for multi language support with 4 characters language format?

book

Article ID: 51639

calendar_today

Updated On:

Products

DIRECTORY CA Identity Manager CA Identity Governance CA Identity Portal CA Risk Analytics CA Secure Cloud SaaS - Arcot A-OK (WebFort) CLOUDMINDER ADVANCED AUTHENTICATION CA Secure Cloud SaaS - Advanced Authentication CA Secure Cloud SaaS - Identity Management CA Secure Cloud SaaS - Single Sign On SINGLE SIGN ON - LEGACY CA Data Protection (DataMinder) CA User Activity Reporting

Issue/Introduction

Description:

When configuring Identity Manager to support several languages, we can either use 2 characters (short - i.e. "en") of 4 characters (long - i.e. "en_CA") language code in the browser. The long version must be configured in a specific way.

Solution:

When the browser is configured to use long language format (i.e. "en_CA" for Canada) we must configure localization support in the following way:

  1. If both "en" and "en_CA" are possible user language preference, we must configure a resource bundle per string - this means we require to have resource and exception files per string - so one pair will be IMSExceptions_en.properties / IMSResources_en.properties and another one will be created for IMSExceptions_en_ca.properties / IMSResources_en_ca.properties.

  2. When using long format language - the properties files must use underscores (IMSResources_en_ca.properties) rather than dashes (IMSResources_en-ca.properties).

Environment

Release:
Component: IDMGR