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
Inherited Members
Namespace: EPiServer.Framework.Configuration.Internal
Assembly: EPiServer.Framework.dll
Version: 9.12.2Syntax
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>> |