Asp.Net Localization : How to process XML data file?



Based on the article aspnet-mvc-internationalization, I have created a separate resource file for each locale. I can process all the views and built in code. But how should I process data specified in XML file?



<?xml version="1.0" encoding="utf-8" ?>
<items>
<item Text="@Resources.Home" NavigateUrl="~/Home">
<item Text="@Resources.Dashboard" NavigateUrl="~/Routing/Dashboard"/>
</item>

</items>


The @Resources.Home doesn't work. This is somewhere similar to sitemap.


No comments:

Post a Comment