Click or drag to resize
CultureSiteInfoProviderCheckCultureCode Method
Check if culture code is in web, and return culture code, if no, return default culture code.

Namespace: CMS.SiteProvider
Assembly: CMS.SiteProvider (in CMS.SiteProvider.dll) Version: 12.0.0
Syntax
C#
public static string CheckCultureCode(
	string cultureCode,
	string siteName
)

Parameters

cultureCode
Type: SystemString
Culture code
siteName
Type: SystemString
Site name

Return Value

Type: String
See Also