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: 13.0.131
Syntax
C#
public static string GetShortCultureCode(
	string cultureCode
)

Parameters

cultureCode
Type: SystemString
Culture code

Return Value

Type: String
See Also