Gets the current locale for current request to the portal.

Namespace: DotNetNuke.Services.Localization
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public Locale GetCurrentLocale(
	int PortalId
)
Visual Basic
Public Function GetCurrentLocale ( 
	PortalId As Integer
) As Locale

Parameters

PortalId
Type: System..::..Int32
The portal id.

Return Value

returnsM:DotNetNuke.Services.Localization.LocaleController.GetCurrentLocale(System.Int32)

Implements

ILocaleController..::..GetCurrentLocale(Int32)

See Also