get_locale


Description:

[ CCode ( vfunc_name = "get_document_locale" ) ]
[ Version ( deprecated = true , deprecated_since = "2.7.90" ) ]
public virtual unowned string get_locale ()

Warning: get_locale is deprecated since 2.7.90.

Gets a UTF-8 string indicating the POSIX-style LC_MESSAGES locale of the content of this document instance.

Note:

Please use get_object_locale instead.

Individual text substrings or images within this document may have a different locale, see atk_text_get_attributes and atk_image_get_image_locale.

Parameters:

this

a Object instance that implements AtkDocumentIface

Returns:

a UTF-8 string indicating the POSIX-style LC_MESSAGES locale of the document content as a whole, or NULL if the document content does not specify a locale.