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 { //...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1990 | Hits: 115

Similar Posts

  • Resource Files and ASP.NET MVC Projects more
  • WPF Bindings and CurrentCulture Formatting more
  • Resx and BAML Resources in WPF more
  • Updated Westwind.Globalization Data Driven Resource Provider for ASP.NET more
  • The Emergence of Choice in the .NET Ecosystem more
  • LINQ To SQL and the Web.Config ConnectionString Value more
  • Generate Local Resources forces Culture="Auto" into Page more
  • How to GAC BizTalk DLL's When Importing A MSI more
  • ResoureProvider, ResourceManagers Relationships in ASP.NET 2.0 more
  • Custom Localization ResourceProviders and Compiler Errors more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD