AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

CMSNavigationEngine..::..GetLanguageSlug Method

Gets the URL language slug for the specified domain and language combination.

Namespace:  AdvantageCMS.Core.Admin.Engine
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public string GetLanguageSlug(
	int domainId,
	int languageId
)

Parameters

domainId
Type: Int32
The domain identifier.
languageId
Type: Int32
The language identifier.

Return Value

The language slug string, or an empty string if not found.