VgaGames 3 - Miscellaneous man-pages

[.. upper level ..]

VG3_multilang_new()

Return an initialized empty multilanguage structure.
SYNTAX
struct vg3_multilang * VG3_multilang_new(const char *locale, const char *locfbk)

FUNCTION PARAMETERS
locale Language to use, e.g. "en" or "en_US", or NULL = system-locale
locfbk Locale for fallback, if locale is not available, or NULL = no fallback

RETURN VALUE
Returns a pointer to the created multilanguage structure.

DESCRIPTION
Create and initialize a multilanguage structure and return it. Only the language attribute before the underscore of locale and locfbk is used, e.g. "en", if passed "en_US" or "en_US@UTF-8".

SEE ALSO
VG3_multilang_free() VG3_multilang_clear() VG3_multilang_add() VG3_multilang_get()