C# Class i18n.Helpers.TextLocalizerExtensions

Exibir arquivo Open project: turquoiseowl/i18n

Public Methods

Method Description
GetText ( this textLocalizer, bool allowLookupWithHtmlDecodedMsgId, string msgid, string msgcomment, LanguageItem languages, LanguageTag &o_langtag, int maxPasses = -1 ) : string

Wrapper around ITextLocalizer.GetText which is more resilient where the msgid passed may have been HtmlDecoded. Ref Issue #105 and #202.

Method Details

GetText() public static method

Wrapper around ITextLocalizer.GetText which is more resilient where the msgid passed may have been HtmlDecoded. Ref Issue #105 and #202.
public static GetText ( this textLocalizer, bool allowLookupWithHtmlDecodedMsgId, string msgid, string msgcomment, LanguageItem languages, LanguageTag &o_langtag, int maxPasses = -1 ) : string
textLocalizer this Interface on text localizer object.
allowLookupWithHtmlDecodedMsgId bool /// Controls whether a lookup will be attempted with HtmlDecoded-msgid should the first lookup with raw msgid fail. ///
msgid string
msgcomment string
languages LanguageItem
o_langtag LanguageTag
maxPasses int
return string