Try to find if the path is prefixed with a URLSegment from a language branch

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

Syntax

C#
protected static LanguageBranch GetLanguageBranchAndPath(
	string pathRootRelative,
	out string pathRelative
)

Parameters

pathRootRelative
Type: System..::.String
The root-relative path to interpret
pathRelative
Type: System..::.String %
The remaining path after the language prefix, if any with any Friendly URL extension removed.

Return Value

The language branch or null if not found or no globalization.

See Also