PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

Translator

Show deprecated

Translator

Show deprecated

The Translator is an object used for getting display-ready localized text from a LocalizationTable. The source of the Translator/LocaleId property, the set of tables it will search, and order it will search them in depends on which method was used to create the Translator instance.

Properties

string

LocaleId

[ReadOnly] [NotReplicated]

Describes the language that the Translator will translate to, as a locale-id.

Functions

string

FormatByKey ( string key , Variant args )

Returns the localized text string in a LocalizationTable based on its Translator locale, by key.

string

Translate ( Instance context , string text )

Returns the localized text string in a LocalizationTable based on its Translator locale, by source lookup.

Events