Interface ILocaleController
Assembly: DotNetNuke.dll
Syntax
public interface ILocaleController
Methods
|
Improve this Doc
View Source
ActivateLanguage(Int32, String, Boolean)
Declaration
void ActivateLanguage(int portalid, string cultureCode, bool publish)
Parameters
Type |
Name |
Description |
System.Int32 |
portalid |
|
System.String |
cultureCode |
|
System.Boolean |
publish |
|
|
Improve this Doc
View Source
CanDeleteLanguage(Int32)
Declaration
bool CanDeleteLanguage(int languageId)
Parameters
Type |
Name |
Description |
System.Int32 |
languageId |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetCultures(Dictionary<String, Locale>)
Declaration
List<CultureInfo> GetCultures(Dictionary<string, Locale> locales)
Parameters
Type |
Name |
Description |
Dictionary<System.String, Locale> |
locales |
|
Returns
Type |
Description |
List<CultureInfo> |
|
|
Improve this Doc
View Source
GetCurrentLocale(Int32)
Declaration
Locale GetCurrentLocale(int portalId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
Returns
|
Improve this Doc
View Source
GetDefaultLocale(Int32)
Declaration
Locale GetDefaultLocale(int portalId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
Returns
|
Improve this Doc
View Source
GetLocale(Int32, String)
Declaration
Locale GetLocale(int portalID, string code)
Parameters
Type |
Name |
Description |
System.Int32 |
portalID |
|
System.String |
code |
|
Returns
|
Improve this Doc
View Source
GetLocale(Int32)
Declaration
Locale GetLocale(int languageID)
Parameters
Type |
Name |
Description |
System.Int32 |
languageID |
|
Returns
|
Improve this Doc
View Source
GetLocale(String)
Declaration
Locale GetLocale(string code)
Parameters
Type |
Name |
Description |
System.String |
code |
|
Returns
|
Improve this Doc
View Source
GetLocaleOrCurrent(Int32, String)
Declaration
Locale GetLocaleOrCurrent(int portalID, string code)
Parameters
Type |
Name |
Description |
System.Int32 |
portalID |
|
System.String |
code |
|
Returns
|
Improve this Doc
View Source
GetLocales(Int32)
Declaration
Dictionary<string, Locale> GetLocales(int portalID)
Parameters
Type |
Name |
Description |
System.Int32 |
portalID |
|
Returns
Type |
Description |
Dictionary<System.String, Locale> |
|
|
Improve this Doc
View Source
GetPublishedLocales(Int32)
Declaration
Dictionary<string, Locale> GetPublishedLocales(int portalID)
Parameters
Type |
Name |
Description |
System.Int32 |
portalID |
|
Returns
Type |
Description |
Dictionary<System.String, Locale> |
|
|
Improve this Doc
View Source
IsDefaultLanguage(String)
Declaration
bool IsDefaultLanguage(string code)
Parameters
Type |
Name |
Description |
System.String |
code |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsEnabled(ref String, Int32)
Declaration
bool IsEnabled(ref string localeCode, int portalId)
Parameters
Type |
Name |
Description |
System.String |
localeCode |
|
System.Int32 |
portalId |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
PublishLanguage(Int32, String, Boolean)
Declaration
void PublishLanguage(int portalid, string cultureCode, bool publish)
Parameters
Type |
Name |
Description |
System.Int32 |
portalid |
|
System.String |
cultureCode |
|
System.Boolean |
publish |
|
|
Improve this Doc
View Source
UpdatePortalLocale(Locale)
Declaration
void UpdatePortalLocale(Locale locale)
Parameters
Type |
Name |
Description |
Locale |
locale |
|
Extension Methods