I have always been interested in localization. I have done similar work. But I always think it is not good. So I 'd like to seeDnnHow to do it. InDnnIn/Documents/dotnetnuke LocalizationTake a look. I think this articleArticleWell written. Then I checked it out.Msdn. The result shows this article.Http://msdn.microsoft.com/library/chs/default.asp? Url =/library/CHS/vbcon/html/vbwlk1_throughlocalizingwebforms. asp. It can be viewed. NetPlatformWebAn introductory tutorial on localization.
Dnn Used . Net In Rscx File to store the content of each language. However Dnn Obtain Rscx The method in is not Msdn Using . Net Provides function classes. Instead, the operation is used. XML Document method. Slave Localization Class Getstring Start with the method. You can understand Dnn How to operate. But what I don't understand is why I didn't use it again. . Net Function class. In Dnn To be compatible ASP. net2.0 This design. Not developed ASP. net2.0 Project. So I have not realized its painstaking efforts.
for control localization, dnn added a resourcekey value. It is more flexible and easy to modify than assigning values to controls in the background class. It also reduces coding difficulties. In addition, if it is not convenient to add resourcekey Control and other local localization, you can also call getstring and other APIs . Make localization easier. Haha. Learn more. However, I can't find a class to complete this assignment.
InDnnOfLocalizationSystem. You can seeFallback. Let's take a look.LocalizationClassThe getresource Method and Its annotations. I think it is quite interesting.
After reading this system. My experience is that when you build a system, you not only need to think about how you used this function in the past. Pay special attention to the specific interfaces provided by your platform for this function. ImageLocalization you can use text and databases to store language information. However, on the. NET platform, the first thing to consider is to store rscx files. Therefore, although platforms can communicate with each other, if you want to do a really good job, you must be very familiar with and specialized in your platform. In addition. After the function class is completed, you should consider more different UIS. Provides richer and more flexible interfaces.