Enhancing the Localization Support of RadControls for Silverlight and WPF

Posted by: the telerik blogs, on 30 May 2009 | View original | Bookmarked: 0 time(s)

With the Q1 2009 SP2release of RadControls for Silverlightwe introduced an enhancement of theLocalizationManager class. Two new properties wereadded toenrich the localization support in the suite- DefaultCulture and DefaultResourceManager. With the new properties you no longer have to alwayscreate an instance of theLocalizationManager. Here is a brief description of the two properties:

  • DefaultCulture
    A staticpropertyof typeSystem.Globalization.CultureInfo.
    Use this one to change localized values without changing the UI culture of the current thread.
  • DefaultResourceManager
    A static propertyof typeSystem.Resources.ResourceManager.
    Use this one to change localized valuesusing a new resource manager, i.e.a new resource file.

Example:

The attached example demonstrates howLocalizationManager's DefaultCulture and DefaultResourceManager properties work in conjunction with the thread's UI culture.

Localization_for_WPF.RadGridView_example.20090530

 src=

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: GridView | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 822 | Hits: 4

Similar Posts

  • RadControls for WPF/Silverlight Q3 Beta 2 release is live! more
  • Telerik Releases New Controls for Silverlight 3 and WPF more
  • Telerik Launches RadControls for Silverlight 3 for Line-of-Business Application Development more
  • Why Embedded Silverlight Makes Sense more
  • Telerik Announces Support for Microsoft Silverlight 3 more
  • Telerik Introduces Free Web Testing Framework for ASP.NET AJAX and Silverlight more
  • Teleriks Q2 2009 Release Expands All-in-one .NET Offering more
  • Steema teeChart for .NET 2009 released more
  • Moonlight 1.0 Released, Silverlight script updated – and a Chrome hack more
  • Telerik Registers Exponential Growth of Its Portfolio - Q3 Release 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