← WoW API < GetLanguageByIndex
Returns the language specified by the index that your character can speak.
Language = GetLanguageByIndex(index)
Parameters[edit | edit source]
Arguments[edit | edit source]
- index
- index
- Numeric - The index starting at 1.
Returns[edit | edit source]
- Language
- Language
- String - Returns the language specified by the index that your character can speak.
Example[edit | edit source]
for x=1, GetNumLanguages() do DEFAULT_CHAT_FRAME:AddMessage(GetLanguageByIndex(x)) end
See also[edit | edit source]
- GetNumLanguages() - Returns the number of languages your character can speak.
Community content is available under CC-BY-SA unless otherwise noted.