How to implement localization in web.sitemap(如何在 web.sitemap 中实现本地化)
问题描述
您能解释一下如何在 web.sitemap 中实现本地化吗?
Can you explain how to implement localization in web.sitemap please?
推荐答案
使用全局资源文件.
App_GlobalResourcesWeb.sitemap.resx
然后在 web.sitemap 中使用键;
Then use keys in the web.sitemap like;
<siteMapNode url="somepage.aspx" title="TmFtZQ==" resourceKey="PageName"/>
这篇关于如何在 web.sitemap 中实现本地化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!