Returns the localized name of a player character language


See also Chat functions.

Signature:

languageName, languageIndex = GetLanguageByIndex(index)

Arguments:

  • index - Index of a player character language (between 1 and GetNumLanguages() (number)

Returns:

  • languageName - Localized name of the language (e.g. "Common" or "Gnomish") (string)
  • languageIndex - Numeric index of the language. Used to identify the language across locales. (number)