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 selection information from the server.

Introduced: X16.

<void> Selection.getCulture(<RequestStringCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the culture as a languagecode2-country / regioncode2 string value.
errorCallback Optional. Is called when the operation failed with an error.