Wowpedia
Advertisement
Wowpedia
240,504
pages
Game Flavors
Links
Patch
Added in 1.1.0 / 1.13.2

Returns the language specified by the index that your character can speak.

language, languageID = GetLanguageByIndex(index)

Arguments

index 
number - Ranging from 1 up to GetNumLanguages()

Returns

language 
string
languageID 
number : LanguageID

Example

Prints the available languages for the player.

for i = 1, GetNumLanguages() do
	print(GetLanguageByIndex(i))
end

E.g. for Blood elf

"Orcish", 1
"Thalassian", 10

Values

ID Name
1 Horde Orcish
2 Alliance Darnassian
3 Horde Taurahe
6 Alliance Dwarvish
7 Alliance Common
8 Demon Hunter Demonic
9 Titan
10 HordeAlliance Thalassian
11 Draconic
12 Kalimag
13 Alliance Gnomish
14 Horde Zandali
33 Horde Forsaken
35 Alliance Draenei
36 Zombie
37 Alliance Gnomish Binary
38 Horde Goblin Binary
39 Gilnean
40 Horde Goblin
42 Pandaren
43 Alliance Pandaren
44 Horde Pandaren
168 Sprite
178 ClassIcon priest.png Shath'Yar
179 Nerglish
180 Moonkin
181 Horde Shalassian
182 Thalassian
285 Horde Vulpera

Patch changes

Advertisement