L10n
Provides functionality to store and retrieve localized text values for different cultures.
Methods
getConstant
Returns the specified property from the localized text.
Parameter | Type | Description |
---|---|---|
propertyName | String | Specifies the property name in the stored locale object to return the localized text. |
Returns: String
setLocale
Specifies the current locale.
Parameter | Type | Description |
---|---|---|
locale | String | Specifiy the name of the locale. |
Returns: Void
load
Specifies the locale object with the localized text for the control.
Parameter | Type | Description |
---|---|---|
localeObject | Object | Specifies the object to load into the global local object. |
Returns: Void