Interface IUpdateCurrentLanguage
Interface that controls how to set the current culture / language settings.
Namespace: EPiServer.Globalization
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public interface IUpdateCurrentLanguage
Methods
UpdateLanguage(String)
Updates the current language settings.
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. |