The LocaleController type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| LocaleController | DotNetNuke.Services.Localization.LocaleController |
Methods
| Name | Description | |
|---|---|---|
| ActivateLanguage |
Activates the language without publishing it.
| |
| CanDeleteLanguage |
Determines whether the language can be delete.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetCultures |
Gets the cultures from local list.
| |
| GetCurrentLocale |
Gets the current locale for current request to the portal.
| |
| GetDefaultLocale |
Gets the default locale of the portal.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLocale(Int32) |
Gets the locale.
| |
| GetLocale(String) |
Gets the locale by code.
| |
| GetLocale(Int32, String) |
Gets the locale included in the portal.
| |
| GetLocales |
Gets the locales.
| |
| GetPublishedLocales |
Gets the published locales.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsDefaultLanguage |
Determines the language whether is default language.
| |
| IsEnabled |
Determines whether the specified locale code is enabled.
| |
| IsValidCultureName | ||
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| PublishLanguage |
Publishes the language.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| UpdatePortalLocale |
Updates the portal locale.
|
Extension Methods
| Name | Description | |
|---|---|---|
| ToJson |
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.) |