-
public unowned string get_sample_string ()
Get a string that is representative of the characters needed to render a particular language.
-
public weak Script[] get_scripts ()
Determines the scripts used to to write language. If nothing is known about the language
tag language, or if language is null, then null is returned. The list of scripts
returned starts with the script that the language uses most and continues to the one it uses least.
-
public bool includes_script (Script script)
Determines if script is one of the scripts used to write language. The
returned value is conservative; if nothing is known about the language tag language, true will be returned,
since, as far as Pango knows, script might be used to write language.
-
public bool matches (string range_list)
Checks if a language tag matches one of the elements in a list of language ranges. A language tag is
considered to match a range in the list if the range is '*', the range is exactly the tag, or the range is a prefix of the tag, and
the character after it in the tag is '-'.
-
public unowned string to_string ()
Gets the RFC-3066 format string representing the given language tag.