Gets the string resource associated with the given identifier for the specified localization culture.

Syntax

Smartsite SXML CopyCode image Copy Code
string locale.culture.getstring(string culture, string resid)
string locale.culture.getstring(string culture, string resid, any[ ] args)

Parameters

Name Data Type Description
culture String The culture code of the desired localization culture.
resid String The string resource identifier.
args Any[ ] An array containing zero or more arguments to format.

Return Value

Data Type Description
String A localized string resource value.

Expand image Example

SXML