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.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static string GetLocalizedString(
	string stringName,
	bool encapsulate
)

Parameters

stringName
Type: SystemString
encapsulate
Type: SystemBoolean

Return Value

Type: String
See Also