Click or drag to resize
StrandsScriptGeneratorGetCultureSettingsScript Method
Returns script which sets current culture, so correct item captions can be shown.

Namespace: CMS.StrandsRecommender.Web.UI
Assembly: CMS.StrandsRecommender.Web.UI (in CMS.StrandsRecommender.Web.UI.dll) Version: 12.0.0
Syntax
C#
public virtual string GetCultureSettingsScript(
	string cultureCode
)

Parameters

cultureCode
Type: SystemString
Culture code, e.g. en-US

Return Value

Type: String
Generated JavaScript
Exceptions
ExceptionCondition
ArgumentNullExceptioncultureCode is null
See Also