Wowpedia
Advertisement
Game Flavors
Links
Patch
Added in 1.0.0 / 1.13.2

Returns the languages that the character can speak by index.

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 Patch
1 Horde Orcish 0.5.3
2 Alliance Darnassian 0.5.3
3 Horde Taurahe 0.5.3
6 Alliance Dwarvish 0.5.3
7 Alliance Common 0.5.3
8 Demon Hunter Demonic 0.5.3
9 Titan 0.5.3
10 AllianceHorde Thalassian 0.5.3
11 Draconic 0.5.3
12 Kalimag 0.5.3
13 Alliance Gnomish 0.5.3
14 Horde Zandali 0.5.3
33 Horde Forsaken 1.0.0
35 Alliance Draenei 2.0.0
36 Zombie 2.4.3
37 Alliance Gnomish Binary 2.4.3
38 Horde Goblin Binary 2.4.3
39 Gilnean 4.0.1
40 Horde Goblin 4.0.1
42 AllianceHorde Pandaren 5.0.3
43 Pandaren 5.0.3
44 Pandaren 5.0.3
168 Sprite 5.0.3
178 ClassIcon priest.png Shath'Yar 7.3.0
179 Nerglish 7.3.0
180 Moonkin 7.3.0
181 Horde Shalassian 7.3.5
182 Thalassian 7.3.5
285 Horde Vulpera 8.3.0
287 Complex Cipher 9.2.0
288 Basic Cypher 9.2.0
290 Metrial 9.2.0
291 Altonian 9.2.0
292 Sopranian 9.2.0
293 Aealic 9.2.0
294 Dealic 9.2.0
295 Trebelim 9.2.0
296 Bassalim 9.2.0
297 Embedded Languages 9.2.0
298 Unknowable 9.2.0
Advertisement