GetExistingLocales
Jump to navigation
Jump to search
Links |
---|
Info |
Added in 2.0.1 |
This no longer exists on any flavor of the game. |
This is no longer a part of the World of Warcraft API.
|
Return a list of installed language packs.
lang1, lang2, ... = GetExistingLocales();
Returns
- lang1, lang2, ...
- String - Token identifying a language pack locale. For example: "enGB", "frFR", "enTW".
Details
- Currently loaded locale identifier is stored in the "locale" CVar.
- Language pack tokens can be translated to a description by using an upper-cased version as a global variable name:
lang1 = GetExistingLocales(); print(_G[lang1:upper()]);
Patch changes
- Patch 6.0.2 (2014-10-14): Removed.