GetLanguageList (open)

Get a list of language names in one or more locales or languages

Syntax

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

RECORD ARRAY FUNCTION GetLanguageList(VARIANT locale)

Parameters

VARIANT locale

The language(s) or locale(s) to use (e.g. 'en', [ 'en-GB', 'nl' ] or 'zh-Hans-CN')

Return value

RECORD ARRAY

The list of language names (each record contains the language code and a cell for each localization)

STRING code

The two-letter ISO 639 language code (lowercase)