Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class ContentLanguage

Accessor to retreive the current content culture

Inheritance
System.Object
ContentLanguage
Namespace: EPiServer.Globalization
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
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