Gets the locale included in the portal.

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

Syntax

C#
public Locale GetLocale(
	int portalID,
	string code
)
Visual Basic
Public Function GetLocale ( 
	portalID As Integer,
	code As String
) As Locale

Parameters

portalID
Type: System..::..Int32
The portal ID.
code
Type: System..::..String
The code.

Return Value

returnsM:DotNetNuke.Services.Localization.LocaleController.GetLocale(System.Int32,System.String)

Implements

ILocaleController..::..GetLocale(Int32, String)

See Also