GetCountryList (open)
Get a list of country names in one or more locales or languages
Syntax
LOADLIB "wh::util/localization.whlib";
RECORD ARRAY FUNCTION GetCountryList(VARIANT locale)Parameters
VARIANT localeThe language(s) or locale(s) to use (e.g. 'en', [ 'en-GB', 'nl' ] or 'zh-Hans-CN')
Return value
RECORD ARRAYThe list of country names (each record contains the country code and a cell for each localization)
STRING codeThe two-letter ISO 3166 country code (uppercase)