问题
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?
回答1:
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.
回答2:
You can launch your application with the main thread set to an specified culture.
来源:https://stackoverflow.com/questions/544620/how-do-i-test-localization-in-a-winforms-application