在国际化ASP.NET中需要帮助 [英] Need Help in Internationalization ASP.NET

查看:98
本文介绍了在国际化ASP.NET中需要帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发在ASP.NET 3.5 C#和SQL Server 2005上开发的Web应用程序.我需要将我的应用程序转换为多种语言.对于静态标签和静态内容,可以通过创建所需的.resx文件来实现.对于数字,货币和日期,这不是问题.主要问题是处理数据库中存储的数据.我需要使用指定的语言将数据绑定到数据库中的下拉列表和其他数据绑定控件.关于如何处理存储在数据库中的数据,我搜索了很多.发现我们必须将文本存储在nvarchar而不是varchar中.请帮助我以unicode格式存储和检索数据库中指定语言的数据并实现I18N.

I am working on a web application being developed on ASP.NET 3.5 C# and SQL server 2005. I need to convert my application into multiple languages. For static labels and static content, this can be achieved by creating the required .resx files. This is not an issue in the case of numbers, currency and dates. The main issue is dealing with the data that is stored in the Database. I need to bind the data to the dropdownlists and other databound controls from the database in the specified language. I googled a lot regarding manipulating the data stored in the database. Found that we must store the text in nvarchar instead of varchar. Please help me in Storing and retrieving the data in the specified language from database in unicode format and achieve I18N.

推荐答案

查看本地化工具包:
http://msdn.microsoft.com/en-us/library/aa479334.aspx [ ^ ]
Look into Localization toolkit:
http://msdn.microsoft.com/en-us/library/aa479334.aspx[^]


这篇关于在国际化ASP.NET中需要帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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