Wie verwende ich die implizite Lokalisierung mit MVCSiteMap?
Ich versuche, implizite Lokalisierung mit @ zu verwende MVCSiteMap aber es funktioniert nicht.
Hier ist mein BeispielWeb.Sitemap
:
<?xml version="1.0" encoding="utf-8" ?>
<mvcSiteMap xmlns="http://mvcsitemap.codeplex.com/schemas/MvcSiteMap-File-2.0" enableLocalization="true">
<mvcSiteMapNode title="Home" controller="Home" action="Index" changeFrequency="Always" updatePriority="Normal">
<mvcSiteMapNode resourceKey="Products" title="Products" controller="Products" action="Index">
<mvcSiteMapNode title="Edit" controller="Products" action="Edit" />
</mvcSiteMapNode>
<mvcSiteMapNode title="Categories" controller="Categories" action="Index" />
<mvcSiteMapNode title="Suppliers" controller="Suppliers" action="Index" />
</mvcSiteMapNode>
</mvcSiteMap>
Ich haberesourceKey="Products"
in der obigen Sitemap und ein entsprechendesProducts.title
imWeb.sitemap.resx
file, insideApp_GlobalResources
Mappe. Befolgen Sie diese Anweisungen:http: //msdn.microsoft.com/en-us/library/ms178427 (VS.80) .aspx
Was fehlt mir hier?
BearbeiteDies wurde im @ implementiechangeset 52831.