Language
Object Hierarchy:
Description:
[ Compact ]
public class Language
Content:
Static methods:
- public static unowned Language from_string (string? language)
Take a RFC-3066 format language tag as a string and convert it to a
Language pointer that can be efficiently copied (copy the pointer) and compared with other language tags (compare
the pointer.
- public static unowned Language get_default ()
Returns the Language for the current locale of the
process.
Methods:
- 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.
- public bool includes_script (Script script)
Determines if script is one of the scripts 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.
- public unowned string to_string ()
Gets the RFC-3066 format string representing the given language tag.