如何在 web.sitemap 中实现本地化

How to implement localization in web.sitemap(如何在 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 中实现本地化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:如何在 web.sitemap 中实现本地化