Click or drag to resize
CMSPageCheckPreferredCulture Method (String)
Checks the preferred culture and changes it to default if not valid. Returns true if the culture was valid.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 13.0.131
Syntax
C#
public static bool CheckPreferredCulture(
	string requiredCulture
)

Parameters

requiredCulture
Type: SystemString
Preferred culture code

Return Value

Type: Boolean
Returns true if required culture is valid, false if not
See Also