I have one problem woth @t() method . i am created @t() which is access on my layour page & index page but it's not access other page so can you give any idea for all page
As suggested when I tried to right click on it in visual studio 2012 in .cshtml pages, Option “go to definition” was missing. Then I have to see the definition of some other object but Option “go to definition” was also missing for them as well. So can anyone tell me why Option “go to definition” is missing?
For example i want to see the Definition of the Manage
@T() gets the localized text. (Language string resource for the current language)
Thanks New York.
I'm starting to get it now.
I used the debugger to follow this code "@T("Account.Administration")". It opened Nop.Web.Framework\ViewEngines\Razor\ViewWebPage.cs which returned the value "Administration" for the "LocaleResource Name="Account.Administration""
I believe it gets that from the Nop.Web\App_Data\Localization\defaultResources.nopres.xml file.
The xml file is only used during installation. The DB table LocaleStringResource is where the resources are, and you can add/modify them using Admin > Configuration > Languages >> View string resources
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.