MatchLanguage (open)

Check if a languagecode matches a list of languages

Syntax

LOADLIB "wh::util/localization.whlib";

BOOLEAN FUNCTION MatchLanguage(STRING setlanguagecode, VARIANT matchlanguages)

Parameters

STRING setlanguagecode
VARIANT matchlanguages

Return value

BOOLEAN

True if the webdesign->languagecode is one of the specified languages