Skip to main content

Interface IObjectWithLocalizableName

Represents an object with localizable names.

Assembly: Dalamud.dll
View Source
Declaration
public interface IObjectWithLocalizableName

Properties

EnglishName

Gets the name, preferrably in English.

View Source
Declaration
string EnglishName { get; }

LocaleNames

Gets the names per locales.

View Source
Declaration
IReadOnlyDictionary<string, string>? LocaleNames { get; }

Methods

GetLocalizedName(string)

Gets the name in the requested locale if available; otherwise, Dalamud.Interface.FontIdentifier.IObjectWithLocalizableName.EnglishName.

View Source
Declaration
string GetLocalizedName(string localeCode)
Returns

System.String: The value.

Parameters
TypeNameDescription
System.StringlocaleCodeThe locale code. Must be in lowercase(invariant).