CultureInfoProviderGetCultureInfoFromDB Method (String, Boolean) |
Returns the CultureInfo structure for the specified culture from database.
Namespace: CMS.LocalizationAssembly: CMS.Globalization (in CMS.Globalization.dll) Version: 13.0.131
Syntax 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:
CultureInfoSee Also