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.
Environment
Release: Component: IDMGR
Resolution
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:
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.
When using long format language - the properties files must use underscores (IMSResources_en_ca.properties) rather than dashes (IMSResources_en-ca.properties).