TextLocalizerExtensions.Get method
namespace: Serenity assembly: Serenity.Net.Core
Gets translation for a key
public static string Get(this ITextLocalizer localTexts, string key)
parameter | description |
---|---|
localTexts | The local texts |
key | Key |
Return Value
Translated text or key itself if no translation found
See Also
- interface ITextLocalizer
- class TextLocalizerExtensions