Interface IUpdateCurrentLanguage
Interface that controls how to set the current culture / language settings.
Namespace: EPiServer.Globalization
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3Syntax
public interface IUpdateCurrentLanguage
Methods
SetRoutedContent(IContent, String)
Sets current language from routed content and requested language
Declaration
void SetRoutedContent(IContent currentContent, string requestedLanguage)
Parameters
Type | Name | Description |
---|---|---|
IContent | currentContent | The content instance current request was routed to |
System.String | requestedLanguage | The requested language branch |