The resource functions allow you to access localized string resources.
Function | Description |
---|---|
Resources(currentLocaleName) | Creates a new resources object with the specified locale as the default locale. |
resources.prototype.hasLocale(localeName) | Returns true if the locale supplied is included in the Mobile Workflow application; otherwise, returns false. |
resources.prototype.getStringFromLocale(key, localeName) | Returns the localized string for the supplied key for the current locale. |
resources.prototype.getString(key) | Returns the localized string for the supplied key for the specified locale. |