API GetNumLanguages

Returns the number of languages your character can speak.

NumLanguages = GetNumLanguages

Arguments

 * none

Returns

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

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