View Source
Interface ILocalizedTextService2
Assembly: Umbraco.Core.dll
Syntax
public interface ILocalizedTextService2 : ILocalizedTextService
Methods
View Source
GetAllStoredValuesByAreaAndAlias(CultureInfo)
Returns all key/values in storage for the given culture
Declaration
IDictionary<string, IDictionary<string, string>> GetAllStoredValuesByAreaAndAlias(CultureInfo culture)
Parameters
Type |
Name |
Description |
System.Globalization.CultureInfo |
culture |
|
Returns
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.Collections.Generic.IDictionary<System.String, System.String>> |
|
View Source
Localize(String, String, CultureInfo, IDictionary<String, String>)
Localize a key with variables
Declaration
string Localize(string area, string alias, CultureInfo culture, IDictionary<string, string> tokens = null)
Parameters
Type |
Name |
Description |
System.String |
area |
|
System.String |
alias |
|
System.Globalization.CultureInfo |
culture |
|
System.Collections.Generic.IDictionary<System.String, System.String> |
tokens |
This can be null
|
Returns
Type |
Description |
System.String |
|