PRELIMINARY INFORMATION - SUBJECT TO CHANGE
Returns a localization-resolved string or returned the string unchanged.
Syntax
Smartsite SXML | Copy Code |
---|---|
string locale.localize(string value) string locale.localize(string value, any[ ] args) |
Parameters
Name | Data Type | Description |
---|---|---|
value | String | I: Resource identifier to localize, or resource value to return unchanged. |
args | Any[ ] | An array containing zero or more arguments to format. |
Return Value
Data Type | Description |
---|---|
String | Returns null if the string is a resource identifier for which the resource cannot be resolved. |