Search (Google -CodeProject -Youtube ) one click

Google
 

Saturday, December 15, 2007

c# glopalization in 20 minutes..!






Globalization of Windows Application in 20 Minutes

Prelude
There was once a time when multiple language support to a windows application used to be a three to six months call, but with the advent of .Net not anymore. Here is a 20 minutes crash course for globalization / Localization of a windows application. I think you'll find it as useful as I do.

Globalization in simple terms means enabling an application so that it works in different national, similar to how a global company operates in different countries. For a windows application globalization means, it is intended for worldwide distribution.
There are two aspects of the Globalization:
Internationalization : Enabling the application to be used without language or culture barriers, i.e. language and cuture information comes from a resource rather than hard coded in the application
Localization : Translating and enabling the product for a specific locale. Based on the resource file translating the application into that language and culture
Target
Modular design: Code Once Use Everywhere (COUE), this is the prime feature which is needed when you globalize an application. All anyone should do is to convert any user interface output/message box /labels text etc, to something like frmMain.RM.GetString("10001"), No culture information or resource manager initialization again in all the forms or anywhere else

Default language: Saving and retrieving the default language selected by the user in registry
Features: How to take care of date/time , multiple forms , images etc
Reusability: Minimum number of effor when you a dd a new form to the application
Extensibility: Support of multiple language, French, Spanish and English using resource files for each

To hold your interest here is how it looks


No comments: