I have an existing winforms application developed using VS 2005 and .net framework 2.0.
Now we need to globalize this application. The two locales are German and Japanese.
I know we can use form's localize property to create localized form resources and can have other resource files for strings used in message boxes, exceptions etc..
I want to know the best approach to globalize an existing application, should I set the localize property on each form or is there some tool which will extract the the label names and control names..what considerations to be taken for date formats, currency, etc.
Also we have used some composite strings in some places in code to concat the message strings, how these can be localized?
We will be migrating the application to VS 2008 and .net framework 3.5 before starting globalization activity.
I've only worked with LTR languages, and I haven't touched Japanese. With that in mind, here are some of my best practices off the top of my head:
It is better to set the localization property on each form -- that will extract not only the strings, but also the geometry of the various components, into the base .resx file. With the nominated languages, it is quite unlikely that the original sizes of the components will be a good fit for the translation.
It is generally not recommended to compose strings out of fragments because they in general will not map into the same pattern of fragments in a different language. Use of formatted strings (String.Format
) to drop in values, yes, but anything that relies on the grammar and sentence order of the original language is unlikely to fit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With