GetAvailableLocaleInfo

From Warcraft Wiki
Jump to navigation Jump to search

Returns the available locales as a table.

locales = GetAvailableLocaleInfo([ignoreLocaleRestrictions])

Arguments

ignoreLocaleRestrictions
boolean? - If true, returns the complete list of locales.

Returns

locales
table[]
Field Type Description
localeId number
localeName string

Values

localeId localeName Description
1 enUS English (United States)
enGB clients return enUS
2 koKR Korean (Korea)
3 frFR French (France)
4 deDE German (Germany)
5 zhCN Chinese (Simplified, PRC)
6 esES Spanish (Spain)
7 zhTW Chinese (Traditional, Taiwan)
8 esMX Spanish (Mexico)
9 ruRU Russian (Russia)
10 ptBR Portuguese (Brazil)
11 itIT Italian (Italy)

Patch changes

Battle for Azeroth Patch 8.3.0 (2020-01-14): Added (Build 33724, Mar 17 2020).