CultureHelperGetCultureInfo Method |
Gets the culture info for specified culture.
If culture code is invalid, then english culture is returned.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax public static CultureInfo GetCultureInfo(
string cultureCode,
bool useUserOverride = false
)
Parameters
- cultureCode
- Type: SystemString
Culture code - useUserOverride (Optional)
- Type: SystemBoolean
If true, the user selected culture is used
Return Value
Type:
CultureInfoSee Also