ASP.NET MVC 2本地化/全球化存储在数据库中? [英] ASP.NET MVC 2 Localization/Globalization stored in the database?

查看:184
本文介绍了ASP.NET MVC 2本地化/全球化存储在数据库中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找一个很好的例子来本地化一个C#ASP.NET MVC 2应用程序,但将数据存储在数据库而不是.RESX文件。不幸的是,我没有找到一个很好的例子,希望其他人可能知道,可以指出我的方向是正确的。

I've been searching for a while for a good example of localizing an C# ASP.NET MVC 2 application but storing the data in the database instead of .RESX files. Unfortunately I've had no luck finding a good example and was hoping someone else may know and could point me in the right direction?

很感谢任何帮助/建议/

Many thanks for any help/advice/articles

推荐答案

资源提供者模型:

http://msdn.microsoft.com/en-us/library/aa905797.aspx

向下滚动到标题为构建数据库资源提供程序的部分。

Scroll down to the section titled Building a Database Resource Provider.

这篇关于ASP.NET MVC 2本地化/全球化存储在数据库中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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