API GetAvailableLocales

Two functions return lists of the available locales:
 * GetAvailableLocales formats the list as a collection of variables
 * GetAvailableLocaleInfo formats the list as a table with added info

aaAA, bbBB, ccCC, ... = GetAvailableLocales(ignoreLocalRestrictions) infoTable = GetAvailableLocaleInfo(ignoreLocalRestrictions)

Arguments

 * ignoreLocalRestrictions : Boolean - Returns the complete list, not only those locales which the game client might use in the current region (NA, Europe, etc.)

Returns

 * aaAA, bbBB, ccCC, ... : Strings - Names of each locale separated as different variables, with the lower-case letters representing language and the upper-case letters representing regional variations
 * infoTable : structure[] - See below:

Example
/dump GetAvailableLocales

On a North American server, this might return something like:

Dump: value=GetAvailableLocales

[1] ="enUS",

[2] ="esMX",

[3] ="ptBR"