GetString gets the localized string corresponding to the resourcekey
Namespace: DotNetNuke.Services.LocalizationAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static string GetString( string key, string resourceFileRoot, PortalSettings portalSettings, string language, bool disableShowMissingKeys ) |
Visual Basic |
---|
Public Shared Function GetString ( key As String, resourceFileRoot As String, portalSettings As PortalSettings, language As String, disableShowMissingKeys As Boolean ) As String |
Parameters
- key
- Type: System..::..String
The resourcekey to find
- resourceFileRoot
- Type: System..::..String
The Local Resource root
- portalSettings
- Type: DotNetNuke.Entities.Portals..::..PortalSettings
The current portals Portal Settings
- language
- Type: System..::..String
A specific language to lookup the string
- disableShowMissingKeys
- Type: System..::..Boolean
Disables the show missing keys flag