WebDesignBase::MatchLanguage (open)
Check if the webdesign is in a specific language
Syntax
LOADLIB "mod::publisher/lib/webdesign.whlib";
BOOLEAN FUNCTION MatchLanguage(VARIANT languages)Parameters
VARIANT languagesCase insensitive comma separated list of language to match, eg "nl" or "en,en-us". If the current languagecode is 'en-us', 'en' would match too
Return value
BOOLEANTrue if the webdesign->languagecode is one of the specified languages