if localeCode is not in (current application's NSLocale's availableLocaleIdentifiers() as list) then throwInvalidParameter(localeCode, parameterName, {constant, text}, "Unknown locale name: “" & localeCode & "”.")