Custom plugin localization

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 2 años
Hi to all,

I'm working on one plugin, and till now everything works fine but one thing.

I can not use localization resources in Views like:

<h1>@T("account.accountactivation").Text</h1>

Couse it says:
The name 'T' does not exist in the current context
+<h1>@T("account.accountactivation").Text</h1>

I'm looking at other plugins that comes with Nop and i cant figure out what I am missing.
Hace 2 años
Do you have _ViewImports.cshtml file with the required includes
Hace 2 años
Yes, I knew I need that, and all includes where there, I was checking it like 10+ times.

BUT... i wasnt set up those two things -> http://prntscr.com/1s1w3xu

So if there wasnt you, I would never again check that file. Big thanks to you. :) Those little things took me like 2-3 hours :(
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.