Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I test localization in a winforms application?

Is there a way to test different languages in a Windows application without changing the localization of the OS or adding code to the application to forcibly change the current culture?

Perhaps some type of a launcher that will launch the application with a specified culture?

like image 268
Travis Collins Avatar asked Feb 25 '26 17:02

Travis Collins


2 Answers

There is this AppLocale Utility for XP, which can also be installed on vista.

AppLocale automatically detects language for non-Unicode program and simulates a corresponding system locale for code-page to/from Unicode conversions.

like image 117
Gulzar Nazim Avatar answered Feb 28 '26 05:02

Gulzar Nazim


You can launch your application with the main thread set to an specified culture.

like image 40
Christian C. Salvadó Avatar answered Feb 28 '26 06:02

Christian C. Salvadó