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

Namespace: CMS.StrandsRecommender
Assembly: CMS.StrandsRecommender (in CMS.StrandsRecommender.dll) Version: 8.2.23
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