I18n.get

Getter for the translation

class I18n
static
string
get
(
string id
,
string locale = currentLocale
)

Parameters

id string

ID for the translation

locale string

Locale for translation getting

Return Value

Type: string

Translation for the ID

Throws

I18nException if cannot find locale or id

Meta