Find by ID:
Go
[Log in | Register]
Home
Support Center Home
Categories (Beta)
Report Issue
Report a Bug
Make a Suggestion
Ask a Question
Security
Log in
Register
Forgot Password
Support Center Stats

Issue Reports
Total: 43356
Active: 394
Processed: 42962

Suggestions
Total: 17800
Active: 505
Processed: 17295

Questions
Total: 98457
Active: 85
Processed: 98372

1851 Knowledge Base Articles

557 Code Central Examples

Powered by Developer Express AJAX-Enabled ASP.NET components

This website is powered by Developer Express ASP.NET technologies including the ASPxMenu, ASPxNavBar, ASPxTabControl, ASPxSiteMapControl, ASPxPopupControl and the ASPxGridView and Editors Suite.
Database connectivity is via eXpressPersistent Objects.

Knowledge Base Article

How to localize .NET Windows Forms components

Article ID: A421
Product Group: .NET (WinForms)
Product: DXperience Universal
Version(s): 6.x, 7.x, 8.x, 9.1
Updated: 1 Jul 2009
Categories: Localization

Description

What is the best way to localize (translate) your .NET products for Windows Forms, the XtraPrinting Library for instance?

Solution

The best solution is to translate components' resources and build satellite assemblies. Please see the Localization topic in the XtraEditors' documentation. The same approach is applicable to localizing the XtraGrid, XtraPrinting Library and other products. In brief, you should change the strings in the RESX files for all our products and send the modified files to the Support Team. We will then build satellite assemblies signed by our strongkey token for you.

Where Do I Get RESX Files for Translation?
If you purchase a component with source code, resource files are installed on your system in the %ProgramFiles%\Developer Express .NET vX.Y\Sources folder. If you don't have component source files, please find the resource files needed for translation in the attached ZIP archives. You should download the archive that matches your DXperience version.

Already Available Translations
The attached archives already contain assemblies translated into many languages. The translated resource files were kindly sent to us by our customers.
The translation into Chinese was kindly provided by Chongqing Huidu Technology Co., Ltd, our official reseller in the East Asia region.
此中文汉化资源包由Developer Express东亚地区正式授权经销商重庆慧都科技有限公司(www.evget.com提供.

The ZIP archive name includes the last updated date and the product version number for easier reference. You will need to extract the assemblies from the archive and copy them to your application's folder or add them to the Assembly Cache.

The archives include translations for the following languages.

Arabic [ar]: Grid
Catalan [ca]: Editors, Grid, Printing, TreeList
Chinese (China) [zh-CN]: Bars
Chinese (Simplified) [zh-CHS]: Data, Utils, XPO, Bars, Charts, Editors, Grid, Layout, NavBar, PivotGrid, Printing, Reports, RichEdit, Scheduler, SpellChecker, TreeList, VerticalGrid, Wizard
Chinese (Taiwain) [zh-TW]: Data, Utils, Bars, Editors, Grid, Layout, NavBar, Printing Library, PivotGrid, TreeList, VerticalGrid
Croatian [hr]: Data, Utils, Bars, Editors, Grid, NavBar, Layout, RichEdit, Scheduler, SpellChecker, TreeList, Wizard
Czech [cs]: Data, Utils, Xpo, Bars, Charts, Editors, Grid, Layout, NavBar, PivotGrid, Printing Library, Reports, RichEdit, Scheduler, SpellChecker, TreeList, VerticalGrid, Wizard
Danish [da]: Bars, Editors, Grid, NavBar, PivotGrid, Printing Library, Reports, Scheduler, SpellChecker, TreeList, VerticalGrid
Dutch [nl]: Data, Utils, Bars, Charts, Editors, Grid, Layout, NavBar, PivotGrid, Printing Library, Reports, RichEdit, Scheduler, SpellChecker, TreeList, VerticalGrid, Wizard
Finnish [fi-FI]: Data, Utils, Bars, Charts, Editors, Grid, Layout, NavBar, PivotGrid, Printing Library, Reports, RichEdit, Scheduler, SpellChecker, TreeList, VerticalGrid
French [fr]: Data, Utils, Xpo, Bars, Charts, Editors, Grid, Layout, NavBar, PivotGrid, Printing, Reports, RichEdit, Scheduler, SpellChecker, TreeList, VerticalGrid, Wizard
German [de]: Data, Utils, Xpo, Bars, Charts, Editors, Grid, Layout, NavBar, PivotGrid, Printing, Reports, RichEdit, Scheduler, SpellChecker, TreeList, VerticalGrid, Wizard
Greek [el]: Utils, Bars, Editors, Grid, Layout, NavBar, PivotGrid, Printing, Reports, Scheduler, SpellChecker, TreeList, VerticalGrid, Wizard
Hebrew [he]: Grid
Hungarian [hu]: Printing Library
Icelandic [is-IS]: Utils, Bars, Editors, Grid, NavBar, Printing Library, Reports, RichEdit, TreeList, VerticalGrid
Italian [it]: Data, Utils, Bars, Editors, Grid, NavBar, PivotGrid, Printing Library, Reports, RichEdit, Scheduler, TreeList, VerticalGrid
Japanese [ja]: Data, Utils, Bars, Editors, Grid, NavBar, Printing Library, TreeList, VerticalGrid
Macedonian [mk]: Editors, Scheduler
Norwegian (Bokmål) [no]: Bars, Editors, Grid, Layout, NavBar, PivotGrid, Printing Library, Reports, Scheduler, TreeList, VerticalGrid, Wizard
Polish [pl-PL]: Data, Utils, Xpo, Bars, Charts, Editors, Grid, Layout, NavBar, PivotGrid, Printing Library, Reports, RichEdit, Scheduler, SpellChecker, TreeList, VerticalGrid
Portuguese [pt]: Utils, Bars, Charts, Editors, Grid, Layout, NavBar, PivotGrid, Printing Library, Reports, Scheduler, TreeList, VerticalGrid
Portuguese (Brazil) [pt-BR]: Utils, Bars, Charts, Editors, Grid, Layout, NavBar, PivotGrid, Printing Library, Reports, RichEdit, Scheduler, TreeList, VerticalGrid, Wizard
Romanian [ro]: Data, Utils, Bars, Charts, Editors, Grid, Layout, NavBar, PivotGrid, Printing Library, Reports, RichEdit, TreeList, VerticalGrid
Russian [ru]: Data, Utils, Xpo, Bars, Charts, Editors, Grid, Layout, NavBar, PivotGrid, Printing, Reports, RichEdit, Scheduler, SpellChecker, TreeList, VerticalGrid, XAF
Slovak [sk]: Data, Utils, Xpo, Bars, Charts, Editors, Grid, Layout, NavBar, PivotGrid, Printing, Reports, RichEdit, Scheduler, SpellChecker, TreeList, VerticalGrid, Wizard
Slovenian [sl]: Bars, Editors, Grid, NavBar, PivotGrid, Printing Library, Reports, TreeList, VerticalGrid
Spanish [es]: Data, Utils, Xpo, Bars, Charts, Editors, Grid, Layout, NavBar, PivotGrid, Printing Library, Reports, RichEdit, Scheduler, SpellChecker, TreeList, VerticalGrid, Wizard
Swedish [sv]: Bars, Editors, Grid, Printing Library, Scheduler
Turkish [tr]: Scheduler
Vietnamese [vi]: Editors, Grid

About a Test Project
The attached dxKB0421_DXperience_*.zip files include a test project for DXperience. If you are using a version older than DXperience v6.3, please download dxKB0421_TestProject_v1,2,6x.zip.

The test project utilizes almost all the controls of the DXperience component set. The UI language is set programmatically in the Main procedure, so you don't have to change your system regional settings to test given translations. Please follow the instructions in the comment to the Main procedure. When the project is launched you'll see that some or all the component strings are translated to the language you've specified in the CurrentUICulture. Please note that this is true for the component internal strings, such as the XtraGrid's column context menu, the Print Preview menus, etc. Captions of the controls on test forms, e.g. buttons, NavBar groups, toolbar items, etc., are not localized, because the form is not localized in this test project. Of course you can localize all elements of your forms in your real project. Please see the Localizing Windows Forms article in the MSDN Library for details.

If You Decide to Recompile Satellite Assemblies Yourself
Satellite assemblies must be signed with the same strong key token as the main DevExpress.~ assemblies. We don't distribute our key file - it's our signature. Therefore, you will also need to rebuild our assemblies as well if you want to compile resource files yourself. For compilation instructions, please refer to the readme.txt document from the attachment (download the ZIP file appropriate for your component version).

By the way, if you find mistakes or complete the existing translations, we'd appreciate it if you'd send your corrections to us for publishing here.

See Also:
How to: Localize DevExpress WinForms Controls Using Satellite Assemblies
Localization of the XtraEditors
Localizing Applications in the MSDN Library
Packaging and Deploying Resources
ClickOnce Deployment and Localization
How to translate components via their Localizer objects
Localized resources for ASPx controls

Attachments




Do you have any comments? We are eager to hear them!

How would you rate the quality of this content?

Average rating: 8.64 out of 9
162 people have rated this page
 
 
 
1
2
3
4
5
6
7
8
9
 
Post Your Vote (Login Required)
If you need any clarification with regards to the contents of this article, please don't hesitate to contact our Support Team.