VG3_multilang_locale()
[added in version 1.2]
Return locale.
SYNTAX
const char *
VG3_multilang_locale(struct vg3_multilang *mlang,
int fallback)
FUNCTION PARAMETERS
mlang | Multilanguage structure |
fallback | Whether to return the fallback-locale |
RETURN VALUE
Returns main- or fallback-locale or an empty string.
DESCRIPTION
Return locale as passed to VG3_multilang_new().
If the main-locale was passed as NULL, the system-locale will be returned,
if it is not C or POSIX, else an empty string will be returned.
If fallback is set, the fallback-locale will be returned (or empty).
SEE ALSO
VG3_multilang_new()
VG3_multilang_free()
VG3_multilang_clear()
VG3_multilang_add()
VG3_multilang_get()