Localized Class Name
Localization Helper
Returns a localized male or female class name for a class token.
NamespaceEModuleCoreLifecyclestable
E:LocalizedClassName(className, unit)Returns a localized male or female class name for a class token.
Parameters
Section titled “Parameters”className: English class token. unit: Unit token or gender number; omitted uses the player gender.
Returns
Section titled “Returns”Localized class name string.
Example
Section titled “Example”local label = E:LocalizedClassName("PRIEST", "target")Keeps addon class labels consistent with ElvUI locale and gender handling.
Source: ElvUI/Game/Shared/General/API.lua:347