• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Interface ILocalizationController

Namespace: Dnn.PersonaBar.Library.Controllers
Assembly: Dnn.PersonaBar.Library.dll
Syntax
public interface ILocalizationController

Properties

| Improve this Doc View Source

CultureName

Declaration
string CultureName { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

GetLocalizedDictionary(String, String, Localization)

Declaration
Dictionary<string, string> GetLocalizedDictionary(string resourceFile, string culture, Localization localization)
Parameters
Type Name Description
System.String resourceFile
System.String culture
Localization localization
Returns
Type Description
Dictionary<System.String, System.String>
| Improve this Doc View Source

GetLocalizedDictionary(String, String)

Returns a dictionary of localized key for a resource file for a given culture.

Declaration
Dictionary<string, string> GetLocalizedDictionary(string resourceFile, string culture)
Parameters
Type Name Description
System.String resourceFile

The relative file path of the main resource file, e.g. ~/DesktopModules/SocialLibrary/App_LocalResources/CmxResources.resx.

System.String culture

The culture for which this dictionary is requested.

Returns
Type Description
Dictionary<System.String, System.String>

A dictionary of keys and values.

Remarks

This API does not fallback to any other DNN resource files.

| Improve this Doc View Source

GetResxTimeStamp(String, Localization)

Declaration
long GetResxTimeStamp(string resourceFile, Localization localization)
Parameters
Type Name Description
System.String resourceFile
Localization localization
Returns
Type Description
System.Int64

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS