There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Localized Site Map No Longer Works After Switching Culture
Using the MvcSiteMapProvider I can get all my nodes to localize just fine. However whenever I switch the UI Culture within my web application, eg changing URL from /en/app to /es/app and using the MenuHelperModel to build a menu of nodes I can see the
IsCurrentNode and IsinCurrentPath no longer work. They work before the culture switch but after they do not. If I touch the web.config or sitemap file this will cause the cache to be flushed and a refresh of the current culture will make it start working but
when I switch to the other it no longer works. This seems to have to do with the cache of the sitemap file.
My sitemap file has elements like: <mvcSiteMapNode title="$resources:SiteMapStrings, Home" controller="App" action="Index" />