![asp.net 国际化](https://i-blog.csdnimg.cn/blog_migrate/c4a75f47db8432794033f7a1ab68b824.png)
asp.net 国际化
I've been out of the office and all over the country of late, up to Redmond 3 times this month and as far from Portland as Raleigh, North Carolina. Consequently, I've not blogged. However, I did get an "A" in Physics/Calculus, so thanks for asking. ;) Turns out my graduation is June 6th, so looks like it will interfere with TechEd. I'll probably give my presentation and immediately jump on a plane to make it to commencement in time. (For those of you who don't know, I've managed to squeeze my undergrad into the last eleven years. Currently I'm Chief Architect at Corillian Corporation, but on Tues, Thurs and Friday nights, I'm just a snot-nosed tyro trying to get through my Physics exams on electromagnetism. Ah, my life.)
我最近一直不在办公室里,在全国各地,本月有3次到达雷德蒙德,从波特兰到北卡罗来纳州的罗利,也是如此。 因此,我没有写博客。 但是,我的确在物理/微积分中获得了“ A”,因此感谢您提出要求。 ;)原来我的毕业典礼是6月6日,所以看来这会干扰TechEd。 我可能会做我的演讲,并立即跳上飞机使其及时开始。 (对于不认识的人,我设法将本科生挤进了过去的11年。目前,我是Corillian Corporation的首席架构师,但是在星期二,星期四和星期五晚上,我只是个鼻涕鼻子的蒂罗试图通过我的电磁物理考试。啊,我的生活。)
Also, lately I've been up to my ears in ASP.NET, today working on Internationalizing multi-lingual ASP.NET web sites in a performance way, while still using the .NET Resource Manager.
另外,最近我对ASP.NET一直不屑一顾,今天,我仍在使用.NET资源管理器,以一种高性能的方式致力于使多语言ASP.NET网站国际化。
In the process, I've collected these links on Globalization/Internationalization:
在此过程中,我收集了有关全球化/国际化的以下链接:
Globalization & Localization Best Practices for Windows 2000 Compliant Software
The Best Localization Directory - Dozens of great links and software
最佳本地化目录-数十个出色的链接和软件
Bidirectional Layout in the HTML 4.0 Spec (ÇåáÇ æ ÓåáÇ ãä ÇáÔÑ Þ Çáà æ ÓØ.)
HTML 4.0规范中的双向布局(ÇåáÇæÓåááÇãäÇáÔÑÇÇáÃææØ)。
Microsoft Localization (Globalization) Toolkit - For Developing Localized ASP.NET Applications (Database Driven)
Microsoft本地化(全球化)工具包-用于开发本地化的ASP.NET应用程序(数据库驱动)
I started by looking at this unsupported Microsoft tool with great interest. It will sure teach you lots about how ASP.NET render controls. It uses a database and reflection, overriding PreRender and Render and replacing keys with localized text. It is very CPU intensive, but this can be mitigated by judicious use of the Output Cache directive. However, for my sites, this isn't possible since each page is rendered specifically for each user. I'm instead using a base class "LocalizedPage" with an optional virtual function "ApplyCulture" and some utilities to allow the user to localized controls. Since pages are designed in the "local" language, only the 10% of (for example) Spanish users would cause increased CPU on a 90% English site. More on this in the future...
首先,我非常感兴趣地查看了这个不受支持的Microsoft工具。 它肯定会教给您很多有关ASP.NET如何呈现控件的知识。 它使用数据库和反射,覆盖PreRender和Render并用本地化文本替换键。 它占用大量CPU,但是可以通过明智地使用Output Cache指令来缓解这种情况。 但是,对于我的网站,这是不可能的,因为每个页面都是专门为每个用户呈现的。 我使用的是基类“ LocalizedPage”和可选的虚函数“ ApplyCulture”,以及一些允许用户本地化控件的实用程序。 由于页面是用“本地”语言设计的,因此,只有10%(例如)西班牙语用户会导致90%的英语站点上的CPU数量增加。 将来会更多
翻译自: https://www.hanselman.com/blog/aspnet-internationalization-globalization-and-localizationwhew
asp.net 国际化