Did you check in Nop.Web.Framework
?
T
Is custom HTML helper of nopcoomerce, you can find it's implementation at
Nop.Web.Framework > ViewEngines > Razor > WebViewPage
It's just call GetResource
service to get resources string.
public Localizer T
{
get
{
if (_localizer == null)
{
//null localizer
//_localizer = (format, args) => new LocalizedString((args == null || args.Length == 0) ? format : string.Format(format, args));
//default localizer
_localizer = (format, args) =>
{
var resFormat = _localizationService.GetResource(format);
if (string.IsNullOrEmpty(resFormat))
{
return new LocalizedString(format);
}
return
new LocalizedString((args == null || args.Length == 0)
? resFormat
: string.Format(resFormat, args));
};
}
return _localizer;
}
}
Hope this helps!