CMSPageCheckPreferredCulture Method (String) |
Checks the preferred culture and changes it to default if not valid. Returns true if the culture was valid.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 11.0.0
Syntaxpublic static bool CheckPreferredCulture(
string requiredCulture
)
Parameters
- requiredCulture
- Type: SystemString
Preferred culture code
Return Value
Type:
BooleanReturns true if required culture is valid, false if not
See Also