WoW API < GetNumLanguages

Returns the number of languages your character can speak.

NumLanguages = GetNumLanguages()

Parameters[edit | edit source]

Arguments[edit | edit source]

none

Returns[edit | edit source]

NumLanguages 
Numeric - Returns the number of languages your character can speak.

Example[edit | edit source]

for x=1, GetNumLanguages() do
  DEFAULT_CHAT_FRAME:AddMessage(GetLanguageByIndex(x))
end

Notes[edit | edit source]

  • Currently (v3.0.3) this function returns either 1 or 2. For Humans and Orcs, it returns 1. For all other races, it returns 2.
Community content is available under CC-BY-SA unless otherwise noted.