Gets the locale by code.

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

Syntax

C#
public Locale GetLocale(
	string code
)
Visual Basic
Public Function GetLocale ( 
	code As String
) As Locale

Parameters

code
Type: System..::..String
The code.

Return Value

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

Implements

ILocaleController..::..GetLocale(String)

See Also