如何实现本土化的web.sitemap [英] How to implement localization in web.sitemap

查看:101
本文介绍了如何实现本土化的web.sitemap的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你能解释一下如何实现本土化的web.sitemap好吗?

Can you explain how to implement localization in web.sitemap please?

推荐答案

使用一个全球性的资源文件。

Use a global resource file.

App_GlobalResources\Web.sitemap.resx

然后在web.sitemap中使用按键等;

Then use keys in the web.sitemap like;

<siteMapNode url="somepage.aspx" title="Name"  resourceKey="PageName"/>

这篇关于如何实现本土化的web.sitemap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆