November Happy Hour will be moved to Thursday December 5th.

Class LocalizationOptions

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Contains various options that controls how Localization in EPiServer is setup.

Inheritance
System.Object
LocalizationOptions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Framework.Configuration.Internal
Assembly: EPiServer.Framework.dll
Version: 9.12.2
Syntax
public class LocalizationOptions

Constructors

LocalizationOptions()

Declaration
public LocalizationOptions()

Properties

FallbackBehavior

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Specifies which fallback behaviour to use when a localization string does not exist.

Declaration
public FallbackBehaviors FallbackBehavior { get; set; }
Property Value
Type Description
FallbackBehaviors
Remarks

Default value is FallbackBehaviors.FallbackCulture | FallbackBehaviors.Echo

FallbackCulture

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Specifies which fallback culture that is used when a localization string does not exist in a specific language.

Declaration
public CultureInfo FallbackCulture { get; set; }
Property Value
Type Description
System.Globalization.CultureInfo
Remarks

The default value is CultureInfo.GetCultureInfo("en")

ProviderFactories

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Factories for localizations providers used by ProviderBasedLocalizationService

Declaration
public IList<Func<IServiceLocator, LocalizationProvider>> ProviderFactories { get; }
Property Value
Type Description
System.Collections.Generic.IList<System.Func<IServiceLocator, LocalizationProvider>>

Extension Methods