Click or drag to resize
CultureInfoProviderGetCultureInfoFromDB Method (String, Boolean)
Returns the CultureInfo structure for the specified culture from database.

Namespace: CMS.Localization
Assembly: CMS.Globalization (in CMS.Globalization.dll) Version: 13.0.131
Syntax
C#
protected virtual CultureInfo GetCultureInfoFromDB(
	string cultureCode,
	bool getAlias
)

Parameters

cultureCode
Type: SystemString
Culture code name or culture alias
getAlias
Type: SystemBoolean
Indicates whether culture should be selected by culture code or alias

Return Value

Type: CultureInfo
See Also