>wowhelm_
~/forever/addon-api/function/GetDisplayName

GetDisplayName

documented function · LuaLocaleContextAPI
GetDisplayName(displayLocale) : result

Gets a display name suitable for the specified locale.

──ARGUMENTS
displayLocale
cstring (The locale whose language conventions are used for the display name)
──RETURNS
result
string (The displayable name for the locale.)
──DETAILS
May Return Nothing
true
Secret Arguments
AllowedWhenTainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.