System. The Threading. Thread. CurrentThread. CurrentUICulture=new System. Globalization, CultureInfo (" useful - CN ");
Unit and the computer operating system in the home, VS version are exactly the same, it is strange that the source code in the unit the compiled software on the computer language is Chinese, but in the home computer compiled the language is English, the source is directly compressed copy, also did not change any Settings, the compiled software run on the other side of the computer language did not change, could you tell me why will appear this problem?
Solve problems for additional scores oh,
CodePudding user response:
I guess there should be a small program in WINDOWS environment languageAfter it is to check the English language will switch to English
CodePudding user response:
Should be a system default language setting,You and see if it is not the same,
CodePudding user response:
1. Check inside the home computer language Settings;2. If not computer environment problems, it is recommended that the log, check the run environment;
CodePudding user response:
May install English home display system choice in Chinese; The unit of Chinese system;CodePudding user response:
Thank you for your answer, two computers are Chinese win10, Windows display language is Chinese, the preferred language is Chinese (simplified), unit computer the compiled version of the home run is a Chinese interface, home computer compilation in the unit running in English interface,In source, vs version and operating System environment is the same case, will there be other factors affect the choice of the software of language and makes System. Threading. Thread. CurrentThread. CurrentUICulture=new System. Globalization, CultureInfo (" useful - CN "); In some cases, the failure of this sentence?
CodePudding user response:
I think you may want to look forSystem. The Threading. Thread. CurrentThread. CurrentUICulture=new System. Globalization, CultureInfo (" en ");
Why this will take effect, change language is what triggers the effect