I'm trying to use implict localization with MVCSiteMap but it's not working.
Here's my sample Web.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>
I have resourceKey="Products"
in the above sitemap and a corresponding Products.title
in Web.sitemap.resx
file, inside App_GlobalResources
folder. Followed these instructions: http://msdn.microsoft.com/en-us/library/ms178427(VS.80).aspx
What I am missing here?
Edit
This has been implemented in the changeset 52831.