Show / Hide Table of Contents

Interface ILocalizationProvider

Namespace: DotNetNuke.Services.Localization
Assembly: DotNetNuke.dll
Syntax
public interface ILocalizationProvider

Methods

GetCompiledResourceFile(PortalSettings, string, string)

Declaration
Dictionary<string, string> GetCompiledResourceFile(PortalSettings portalSettings, string resourceFile, string locale)
Parameters
Type Name Description
PortalSettings portalSettings
string resourceFile
string locale
Returns
Type Description
Dictionary<string, string>

GetString(string, string)

Declaration
string GetString(string key, string resourceFileRoot)
Parameters
Type Name Description
string key
string resourceFileRoot
Returns
Type Description
string

GetString(string, string, string)

Declaration
string GetString(string key, string resourceFileRoot, string language)
Parameters
Type Name Description
string key
string resourceFileRoot
string language
Returns
Type Description
string

GetString(string, string, string, PortalSettings)

Declaration
string GetString(string key, string resourceFileRoot, string language, PortalSettings portalSettings)
Parameters
Type Name Description
string key
string resourceFileRoot
string language
PortalSettings portalSettings
Returns
Type Description
string

GetString(string, string, string, PortalSettings, bool)

Declaration
string GetString(string key, string resourceFileRoot, string language, PortalSettings portalSettings, bool disableShowMissingKeys)
Parameters
Type Name Description
string key
string resourceFileRoot
string language
PortalSettings portalSettings
bool disableShowMissingKeys
Returns
Type Description
string

SaveString(string, string, string, string, PortalSettings, CustomizedLocale, bool, bool)

Declaration
bool SaveString(string key, string value, string resourceFileRoot, string language, PortalSettings portalSettings, LocalizationProvider.CustomizedLocale resourceType, bool addFile, bool addKey)
Parameters
Type Name Description
string key
string value
string resourceFileRoot
string language
PortalSettings portalSettings
LocalizationProvider.CustomizedLocale resourceType
bool addFile
bool addKey
Returns
Type Description
bool

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS