Gets the locale by code.
Namespace: DotNetNuke.Services.LocalizationAssembly: 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.