Gets the current locale for current request to the portal.
Namespace: DotNetNuke.Services.LocalizationAssembly: 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.