Try finding the default language if allowed, otherwise fallback to the first allowed language found

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

Syntax

C#
public string GetDefaultAllowedLanguage(
	PageReference pageLink
)

Parameters

pageLink
Type: EPiServer.Core..::.PageReference
The page to fetch language for

Return Value

See Also