Interface IUpdateCurrentLanguage
Interface that controls how to set the current culture / language settings.
Namespace: EPiServer.Globalization
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7Syntax
public interface IUpdateCurrentLanguage
Methods
UpdateLanguage(String)
Updates the current language for the current context (e.g. current web request)
Declaration
void UpdateLanguage(string languageId)
Parameters
Type | Name | Description |
---|---|---|
System.String | languageId | The language id. |
UpdateReplacementLanguage(IContent, String)
Updates current language settings if a replacement language is used.
Declaration
void UpdateReplacementLanguage(IContent currentContent, string requestedLanguage)
Parameters
Type | Name | Description |
---|---|---|
IContent | currentContent | The current content that we need to check for replacement language handling. |
System.String | requestedLanguage | The requested language. |