CMSPage CheckPreferredCulture Method (String)Kentico 8.1 API Reference
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: 8.0.0.0 (8.1.5347.20411)

Return Value

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