API GetExistingLocales

Revision as of 18:05, May 16, 2010 by Starlightblunder (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
102,737pages on
this wiki
WoW API < GetExistingLocales

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

Around Wikia's network

Random Wiki