PRELIMINARY INFORMATION - SUBJECT TO CHANGE
Returns a localization-resolved string or returned the string unchanged, using a specific culture.
Syntax
Smartsite SXML | Copy Code |
---|---|
string locale.culture.localize(string culture, string value) string locale.culture.localize(string culture, string value, any[ ] args) |
Parameters
Name | Data Type | Description |
---|---|---|
culture | String | The culture code of the desired localization culture. |
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. |