A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn 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