ScriptHelperGetLocalizedString Method (String, Boolean) |
Localizes and encodes text to be used in JavaScript string and optionally encapsulates it with "'".
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax public static string GetLocalizedString(
string stringName,
bool encapsulate
)
Parameters
- stringName
- Type: SystemString
- encapsulate
- Type: SystemBoolean
Return Value
Type:
StringSee Also