Wikia

WoWWiki

Watchlist Recent changes

API GetExistingLocales

Main Menue



Return a list of installed language packs.

lang1, lang2, ... = GetExistingLocales();

Returns Edit

lang1, lang2, ... 
String - Token identifying a language pack locale. For example: "enGB", "frFR", "enTW".

Details Edit

  • 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()]);

Pages on WoWWiki

94,213pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,642photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki