locale of the document content as a whole, or NULL if the document content does not specify a locale.
Document.getLocale
string getLocale()Gets a UTF-8 string indicating the POSIX-style LC_MESSAGES locale of the content of this document instance. Individual text substrings or images within this document may have a different locale, see atk_text_get_attributes and atk_image_get_image_locale.
Returns
a UTF-8 string indicating the POSIX-style LC_MESSAGES
Deprecated
Please use [atk.object.ObjectWrap.getObjectLocale] instead.