Getting Started with ComponentOne Studio Silverlight Edition
WPF Localization

When you localize a WPF application, you have several options. See here for best practices from Microsoft. When you use ComponentOne controls in your application, the localized resources are automatically included in your output based upon the published language you specify in your project’s settings. They will come from their installed location under C:\Program Files\ComponentOne\Studio for WPF\bin, and do not need to be added manually to the project.

Change the UI Culture of your application to the desired culture. One way of doing this is on the application’s current thread:

// set culture to Spanish ("es")
Thread.CurrentThread.CurrentUICulture = new CultureInfo("es");

Some controls have many baked in UI strings that can benefit from quick localization including C1Scheduler, C1DataGrid, C1DockControl, C1PdfViewer and C1RichTextBoxToolbar.

 

 

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback