- public string[] get_all_locales ()
Gets all locales.
- public string get_country_from_code (string code, string? translation)
Gets the country name for code.
- public string get_country_from_locale (string locale, string? translation)
Gets the country description for locale.
- public bool get_input_source_from_locale (string locale, out unowned string type, out unowned string id)
Gets the default input source's type and identifier for a given
locale.
- public string get_language_from_code (string code, string? translation)
Gets the language name for code.
- public string get_language_from_locale (string locale, string? translation)
Gets the language description for locale.
- public string get_translated_modifier (string modifier, string? translation)
Gets a translation of the raw modifier string.
- public bool language_has_translations (string code)
Returns true if there are
translations for language code.
- public string normalize_locale (string locale)
Gets the normalized locale string in the form [language_country
[modifier]] for name.
- public bool parse_locale (string locale, out string language_codep, out string? country_codep, out string? codesetp, out string? modifierp)
Extracts the various components of a locale string in XPG format.