Resource.Translations

Syntax

Translations(resourceID : string);

Parameters

resourceId. Resource identifier.

Description

The Tranlsations property determines objects that contain localized strings.

Comments

The property contains an object of the {LCID: string} type, where LCID is four-character number language code.

Property value is set by the setTranslations(resourceId, translations) method. resourceId. Identifier of the resource, for which localization must be set. translations. Object with localized strings.

Value is returned by the getTranslations(resourceId) method. resourceId. Identifier of the resource, for which localization must be returned.

See also:

Resource