The LocaleController type exposes the following members.

Constructors

  NameDescription
Public methodLocaleController
DotNetNuke.Services.Localization.LocaleController

Methods

  NameDescription
Public methodActivateLanguage
Activates the language without publishing it.
Public methodCanDeleteLanguage
Determines whether the language can be delete.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCultures
Gets the cultures from local list.
Public methodGetCurrentLocale
Gets the current locale for current request to the portal.
Public methodGetDefaultLocale
Gets the default locale of the portal.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLocale(Int32)
Gets the locale.
Public methodGetLocale(String)
Gets the locale by code.
Public methodGetLocale(Int32, String)
Gets the locale included in the portal.
Public methodGetLocales
Gets the locales.
Public methodGetPublishedLocales
Gets the published locales.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultLanguage
Determines the language whether is default language.
Public methodIsEnabled
Determines whether the specified locale code is enabled.
Public methodStatic memberIsValidCultureName
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPublishLanguage
Publishes the language.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdatePortalLocale
Updates the portal locale.

Extension Methods

  NameDescription
Public Extension MethodToJson
Extension method on object that serializes the value to Json. Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.)

See Also