LocalTextRegistry.AddPending method
namespace: Serenity.Localization assembly: Serenity.Net.Core
Adds a pending approval local text entry to the registry. These texts can only be seen while moderators are browsing the site. You can determine which users are moderators by implementing ILocalTextContext interface, and registering it through the service locator.
public void AddPending(string languageID, string key, string text)
parameter | description |
---|---|
languageID | Language ID (e.g. en-US, tr-TR) |
key | Local text key |
text | Translated text |
See Also
- class LocalTextRegistry