Javascript: TXTextControl.Selection.getCulture Method

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.

Syntax

<void> Selection.getCulture(<function> callback);
Parameter Description
callback

A function with one parameter. Is called with a languagecode2-country/regioncode2 string ("de-DE", "en-US" or "en", for example) upon receiving the selection information from the server.

See Also