getLocaleNameInfo

getLocaleNameInfo(lcid: Integer;
                  info: LocaleNameInfo input);

The getLocaleNameInfo method of the Schema class gets the name formatting information from the LocaleNameInfo class for the locale specified in the lcid parameter. Set the value of the lcid parameter to zero (0) if you want to return information for the current locale.

When the EnhancedLocaleSupport parameter in the [JadeEnvironment] section of the JADE initialization file on the database node is set to true, the JadeLocaleIdNumbers category LCID_SessionWithOverrides global constant enables you to retrieve information from the session locale without having to save the initial locale for the call.

When the EnhancedLocaleSupport parameter on the database node is set to true, this method returns the locale name information with regional overrides suppressed, unless the lcid parameter is set to zero (0) when the current thread locale is the session locale or the lcid parameter is set to the JadeLocaleIdNumbers category LCID_SessionWithOverrides global constant (which enables you to easily code calls for information about the session locale without having to change the current locale).

Regardless of the value of the EnhancedLocaleSupport parameter, if you set the lcid parameter to zero (0), the information is returned for the current thread locale.