Class ContentLanguage
Accessor to retreive the current content culture
Inheritance
System.Object
ContentLanguage
Namespace: EPiServer.Globalization
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3Syntax
public static class ContentLanguage : Object
Properties
PreferredCulture
Returns the language of the currently routed content
Declaration
public static CultureInfo PreferredCulture { get; }
Property Value
Type | Description |
---|---|
System.Globalization.CultureInfo |