How to test localized winforms application?

Posted by Sun on Stack Overflow See other posts from Stack Overflow or by Sun
Published on 2010-04-16T01:49:43Z Indexed on 2010/04/16 1:53 UTC
Read the original article Hit count: 543

Filed under:
|
|

Background:

I have created sample windows application for learning to implement localization. My each form has two RESX file. One for Bulgaria and one for French(Belgium). It has default culture English(XX)

To test locally currently I am programmatically changing UICulture i.e. Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr-BE"); And it works fine.

Problem:

How can I test without forcing the UI Culture programatically? I have tried changing Control Panel > Regional Options > Standard and Formats to French(Belgium). That made changes to DatePickerControl and now it display the dates French. However I can still see the Button text in English, where as if I test by injecting CultureInfo programmatically it changes to french.

If I am able to change the standard and formats to French do I still need to Install Multilingual User Interface Pack (MUI)?

© Stack Overflow or respective owner

Related posts about localization

Related posts about winforms