DefaultTextLocalizer class
namespace: Serenity.Localization assembly: Serenity.Net.Core
Implementation of text localizer for current ui culture name and text registry
public class DefaultTextLocalizer : ITextLocalizer
Public Members
name | description |
---|---|
DefaultTextLocalizer(…) | Creates a new default text localizer instance |
TryGet(…) | Gets translation for a key based on the context language |
See Also
- interface ITextLocalizer
- Source: DefaultTextLocalizer.cs