WoW API < GetDefaultLanguage

Returns the Language used by the indicated Player.

language = GetDefaultLanguage(unit);

Parameters[edit | edit source]

Arguments[edit | edit source]

player 
UnitId - unit whose default language you wish to query.

Returns[edit | edit source]

language 
the default language of the indicated object, usually the faction's common language (i.e. "Common" and "Orcish").
Community content is available under CC-BY-SA unless otherwise noted.