关于.resx? [英] About .resx?

查看:126
本文介绍了关于.resx?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ASP.NET中 .resx 的主要用途是什么

我不知道该怎么办

任何人都知道这件事,请让我知道


what is the main use of .resx in ASP.NET

i don''t know how to yse this one

anyone knows about this thing please let me know

if possible give one example

推荐答案

这些是可以在其中存储Web应用程序资源的资源文件,尤其是文本字符串. >
这具有几个优点:
-文字字符串不会出现在标记中
-资源字符串可以重复使用
-资源可以保留为不同的语言,从而允许自动使用最接近用户设置的语言.

简而言之:使用资源可以使您的标记保持整洁,并且您可以将您的网站改用任何语言.

这看起来像是一个很好的话题:
http://www.codeproject.com/KB/aspnet/localizationByVivekTakur.aspx [ ^ ]
Those are the resource files in which you can store the resources of your web application, especially text strings.

This offers several advantages:
- Literal strings are kept out of your markup
- Resource strings can be reused
- Resources can be kept in different languages, allowing automatic use of the language closest to the user''s settings.

Or short: Using resources keeps your markup clean and you can lokalize your website to any language.

This looks like a good artikle on the subject:
http://www.codeproject.com/KB/aspnet/localizationByVivekTakur.aspx[^]


这将帮助 http://www.asp.net /general/videos/how-do-i-create-a-multi-lingual-site-with-localization [此处 [^ ]
This will help http://www.asp.net/general/videos/how-do-i-create-a-multi-lingual-site-with-localization[^] more than any answer I can give in the context of Q&A. You should look up .net Localization and Globalization on the net too there are articles on the code project such as here[^]


*.resx文件用于应用程序的本地化.它包含用于给定文化的字符串.

有关详细信息和示例,请单击此处: ASP.NET 2.0中神秘化的全球化和本地化 [ ^ ]
*.resx files are used for in localization of your application. It holds the strings to be used for a given culture.

For details and example, look here: Globalization and localization demystified in ASP.NET 2.0[^]


这篇关于关于.resx?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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