Lore archive · Warcraft Wiki, 2023 dump
API GetExistingLocales
Last wiki revision 2020-01-08
Return a list of installed language packs. lang1, lang2, ... = GetExistingLocales;
- lang1, lang2, ... : String - Token identifying a language pack locale. For example: "enGB", "frFR", "enTW".
lang1 = GetExistingLocales; print(_G[lang1:upper]);
- Currently loaded locale identifier is stored in the "" CVar.
- Language pack tokens can be translated to a description by using an upper-cased version as a global variable name:
Source
https://warcraft.wiki.gg/wiki/API_GetExistingLocales · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.