Interface IUpdateCurrentLanguage
Interface that controls how to set the current culture / language settings.
Namespace: EPiServer.Globalization
Assembly: EPiServer.dll
Version: 7.19.2Syntax
public interface IUpdateCurrentLanguageMethods
UpdateLanguage(String)
Updates the current language settings.
Declaration
void UpdateLanguage(string languageId)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | languageId | The language id. | 
UpdateReplacementLanguage(IContent, ILanguageSelectionSource)
Updates current language settings if a replacement language is used.
Declaration
void UpdateReplacementLanguage(IContent currentContent, ILanguageSelectionSource languageSource)Parameters
| Type | Name | Description | 
|---|---|---|
| IContent | currentContent | The current content that we need to check for replacement language handling. | 
| ILanguageSelectionSource | languageSource | The source for language selection. | 
