VgaGames4

VgaGames4 - multilanguage man-pages

[.. upper level ..]

# vg4->mlang->get()

Get the multilanguage entry for a scope and a key.

SYNTAX
const char * vg4->mlang->get(const char *scope, const char *key)
FUNCTION PARAMETERS

scope | Scope
key | Key

RETURN VALUE
Returns the multilanguage text, or scope:key if not found
DESCRIPTION
Get the multilanguage entry for a scope and a key. E.g. if a multilanguage entry in a file beneath en/intro/ is: [[cat_kick]] Don't kick the cat, you dude! then the call for vg4->mlang->get("intro", "cat_kick") would return for the english locale: "Don't kick the cat, you dude!"
SEE ALSO
vg4->mlang->add() vg4->mlang->clear()