PangoLanguage** pango_language_get_preferred ( void )
Returns the list of languages that the user prefers.
The list is specified by the
environment variables, in order of preference. Note that this
list does not necessarily include the language returned by
When choosing language-specific resources, such as the sample
text returned by
you should first try the default language, followed by the
languages returned by this function.
Available since: 1.48