Creates a language selector with a custom language selection and enables fallback languages

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

Syntax

C#
public static ILanguageSelector Fallback(
	string preferredLanguageBranch,
	bool enableMasterLanguageFallback
)

Parameters

preferredLanguageBranch
Type: System..::.String
The prefered language branch (overrides user choice)
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