[ CCode ( cname = "gnome_parse_locale" ) ]
[ Version ( since = "3.8" ) ]
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.
([language_country[modifier]]). See http://en.wikipedia.org/wiki/Locale.
| locale |
a locale string |
| language_codep |
location to store the language code, or null |
| country_codep |
location to store the country code, or null |
| codesetp |
location to store the codeset, or null |
| modifierp |
location to store the modifier, or null |
|
true if parsing was successful. |