Global Resources Localization Suggestion for ASP.NET
Posted by: Rick Strahls WebLog,
on 24 Jun 2007 |
View original | Bookmarked: 0 time(s)
ASP.NET provides the ability to use strongly typed resources for Global resources that are contained in App_GlobalResources. This is a nice feature, but it has a pretty major flaw as it's implemented right now. The way this works is that you have your Resx file in App_GlobalResources and ASP.NET will at compile time generate a class from each of the resource sets (each distinct invariant .resx file) defined. For example a generated class looks like this:public class resources
{
//...