Proper localization of a WinForms application

前端 未结 5 652
Happy的楠姐
Happy的楠姐 2020-11-30 01:11

I have a WinForms application which I want to translate into multiple languages. However, I do not have any experience with localizing a WinForms a

5条回答
  •  自闭症患者
    2020-11-30 02:00

    This is a huge subject and there are many ways to accomplish what you want. The framework does provide the basis but a complete solution requires that you implement certain elements yourself.

    For example the default framework implementation is to create a .resx file for every resource. In ASP.Net this means each user/server control or page. This doesn't lend itself to easy maintenance and if you want to move resources to a database you need to implement your own provider.

    My familiarity with Winforms is limited but if you are using Silverlight or WPF then have a read of Guy Smith-Ferrier's work on the subject at: http://www.guysmithferrier.com/category/Internationalization.aspx. He also has some toolsets that can make your life easier at: http://www.dotneti18n.com/Downloads.aspx.

    I've worked with him before and have never come across anyone else with a better depth of understanding of the subject.

提交回复
热议问题