Creates a language selector that reads current language selection and enables fallback languages

Namespace:  EPiServer.Core
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public static ILanguageSelector AutoDetect(
	bool enableMasterLanguageFallback
)

Parameters

enableMasterLanguageFallback
Type: System..::.Boolean
Enable master language as a last resort for fallback instead of filtering a page

Return Value

A language selector object

See Also