Retrieves the locale associated with the business object.
Syntax
char * getLocale();
Parameters
None.
Return values
A string that contains the name of the locale associated with the current business object. For information on the format of a locale name, see What is a locale?.
Notes
The getLocale() method returns the locale that is associated with the flow for the business object, when the business object is created. This locale indicates the language and code set associated with the data in the business object, not to the name of the business object definition or its attributes (which must be characters in the code set associated with the U.S. English locale, en_US). If the business object does not have a locale associated with it, the connector framework uses the connector framework's locale for the business object.
See also