Click or drag to resize
CultureHelperGetShortCultureCode Method
Returns the short culture part, just the main culture identifier ("en-us" => "en").

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static string GetShortCultureCode(
	string cultureCode
)

Parameters

cultureCode
Type: SystemString
Culture code

Return Value

Type: String
See Also