Package: pango

Function pango:language-preferred

Lambda List

pango:language-preferred ()

Return Value

The list of pango:language instances, or nil.

Details

Returns the list of languages that the user prefers, as specified by the PANGO_LANGUAGE or LANGUAGE environment variables, in order of preference. Note that this list does not necessarily include the language returned by the pango:language-default function.

When choosing language specific resources, such as the sample text returned by the pango:language-sample-string function, you should first try the default language, followed by the languages returned by this function.
 

See also

2025-2-15