Assembly: EPiServer (in EPiServer.dll) Version: 8.0.0
Determines whether the provided host is mapped to the provided language as defined either by direct hostname-to-language mapping or through wildcard language mapping.
public virtual bool IsHostLanguageMatch( string hostName, string language )
The hostname to language mapping is defined by the SiteDefinition API . The purpose of this is that the language indicator segment in the URL is not needed when you have a match between the requested language and the default language as indicated by the host name.