TextLocalizerExtensions.Get method

namespace: Serenity   assemblySerenity.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