Package: gtk

Function gtk-get-default-language

Lambda List

gtk-get-default-language ()

Return Value

The default language as a pango-language object.


Returns the pango-language object for the default language currently in effect. The default language is derived from the current locale. Note that this can change over the life of an application. It determines, for example, whether GTK+ uses the right-to-left or left-to-right text direction.

This function is equivalent to the function pango-language-get-default. See that function for details.


 (setq lang (gtk-get-default-language))
 (pango-language-to-string lang)
=> "de-de"    

See also