Wowpedia
Advertisement
Game Flavors
Links
Patch
Added in 2.4.0 / 1.13.2

Returns the number of languages your character can speak.

numLanguages = GetNumLanguages()

Returns

numLanguages 
number

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
Advertisement