Gets the culture as a languagecode2-country / regioncode2 string value. Takes a callback function as a parameter which is called with a languagecode2-country / regioncode2 string ("de-DE", "en-US" or "en", for example) as a parameter upon receiving the culture value.
Introduced: 30.0.
<void> FormattingStyle.getCulture(<RequestStringCallback> callback, [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
callback | Receives the culture as a languagecode2-country / regioncode2 string value. |
error |
Optional. Is called when the operation failed with an error. |