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