Unlocalized Class Name
Localization Helper
Converts a localized class name back to the English class token used by ElvUI.
NamespaceEModuleCoreLifecyclestable
E:UnlocalizedClassName(className)Converts a localized class name back to the English class token used by ElvUI.
Parameters
Section titled “Parameters”className: Localized class name.
Returns
Section titled “Returns”Class token such as MAGE, WARRIOR, or DRUID.
Example
Section titled “Example”local classToken = E:UnlocalizedClassName(localizedName)Useful for compatibility when Blizzard APIs or chat text return localized class names.
Source: ElvUI/Game/Shared/General/API.lua:343