Click or drag to resize
ScriptHelperGetLocalizedString Method (String, Boolean)
Localizes and encodes text to be used in JavaScript string and optionally encapsulates it with "'".

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 12.0.0
Syntax
C#
public static string GetLocalizedString(
	string stringName,
	bool encapsulate
)

Parameters

stringName
Type: SystemString
encapsulate
Type: SystemBoolean

Return Value

Type: String
See Also