SaaS CMS has officially launched! Learn more now.

Class GlobalizationSettingsOptions

Globalization settings that allows to set culture

Inheritance
System.Object
GlobalizationSettingsOptions
Namespace: EPiServer.Globalization
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
[Options(ConfigurationSection = "Cms")]
public class GlobalizationSettingsOptions : Object

Constructors

GlobalizationSettingsOptions()

Declaration
public GlobalizationSettingsOptions()

Properties

CultureLanguageCode

Gets or sets the culture language code in web.config.

Declaration
public string CultureLanguageCode { get; set; }
Property Value
Type Description
System.String

The culture language code.

UICultureLanguageCode

Gets or sets the UI culture language code in web.config.

Declaration
public string UICultureLanguageCode { get; set; }
Property Value
Type Description
System.String

The UI culture language code.

UseBrowserLanguagePreferences

Specifies if browser language preferences should be used to set content language when language can not be determined from url.

Declaration
public bool UseBrowserLanguagePreferences { get; set; }
Property Value
Type Description
System.Boolean
Remarks

Default value is false

Extension Methods