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 languages

Case 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

BOOLEAN

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