This project is read-only.

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" />