当前位置:网站首页>CMD implements the language conversion of locale non Unicode programs
CMD implements the language conversion of locale non Unicode programs
2022-07-03 19:23:00 【Rondox】
1. Create a new one txt write in
<gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend">
<gs:UserList>
<gs:User UserID="Current" CopySettingsToDefaultUserAcct="true" CopySettingsToSystemAcct="true"/>
</gs:UserList>
<!-- system locale --><gs:SystemLocale Name="zh-CN" />
</gs:GlobalizationServices>And save it as xml file I am a localeToCN.xml
ps:<gs:SystemLocale Name="zh-CN" />
among zh-CN It is the detailed correspondence table of language code. Check the official website of Microsoft It can be changed as required
Apply to Windows Available language packs for | Microsoft Docs
For me only
Simplified Chinese :zh-CN
Japanese :ja-JP
2. open cmd Administrator mode input
control.exe intl.cpl,, /f:"localeToCN.xml"
Then restart to find that the switch is successful
ps:localeToCN.xml Writing the file name directly here means the current directory file
After restart, open the control panel and the open area can be seen
Or open cmd Input Intl.cpl enter
Advanced
1. The second step above is also written as batch processing bat
@echo off&color 17
if exist "%SystemRoot%\SysWOW64" path %path%;%windir%\SysNative;%SystemRoot%\SysWOW64;%~dp0
bcdedit >nul
if '%errorlevel%' NEQ '0' (goto UACPrompt) else (goto UACAdmin)
:UACPrompt
%1 start "" mshta vbscript:createobject("shell.application").shellexecute("""%~0""","::",,"runas",1)(window.close)&exit
exit /B
:UACAdmin
cd /d "%~dp0"
control.exe intl.cpl,, /f:"localeToCN.xml"
pauseThe new paragraph is to open the default administrator mode to run No need to right-click the administrator to open
For my convenience surface Touch screen operation I also wrote restart bat
Content :
shutdown /r /t 2Empathy : The area can also be written Convenient touch screen
Intl.cpl
At last, I used :

It can also be made into a bat Enter a number and choose a different language But touch screen operation is a little troublesome I wrote it separately
Or maybe c# Make a simple one I don't have to worry about it Just use it.
Information :
1.Change System Locale Windows Command Line | Password Recovery
2. Apply to Windows Available language packs for | Microsoft Docs
3.https://www.jb51.net/article/193692.htm
边栏推荐
- SQL injection for Web Security (1)
- Cross compile opencv with contrib
- Comments on flowable source code (37) asynchronous job processor
- If the warehouse management communication is not in place, what problems will occur?
- Web Security (VII) specific process of authentication with session cookie scheme
- 2022.2.14 Li Kou - daily question - single element in an ordered array
- 【LeetCode】【SQL】刷题笔记
- Zhang Fei hardware 90 day learning notes - personal records on day 4, please see my personal profile / homepage for the complete
- Flutter network and data storage framework construction-b1
- EGO Planner代碼解析bspline_optimizer部分(1)
猜你喜欢

During MySQL installation, the download interface is empty, and the components to be downloaded are not displayed. MySQL installer 8.0.28.0 download interface is empty solution

Common text labels

Nous avons fait une plateforme intelligente de règlement de détail

Why should we do feature normalization / standardization?

Chapter 1: sum of three factorials, graph point scanning

OSPF - detailed explanation of stub area and full stub area

第一章:求所有阶乘和数,大奖赛现场统分程序设计,三位阶乘和数,图形点扫描,递归求n的阶乘n!,求n的阶乘n!,舍罕王失算
![[new year job hopping season] test the technical summary of interviewers' favorite questions (with video tutorials and interview questions)](/img/4e/a51365bb88b1fc29d1c77fcdde5350.jpg)
[new year job hopping season] test the technical summary of interviewers' favorite questions (with video tutorials and interview questions)

第一章:求n的阶乘n!

第二章:求长方体数组,指定区间内的完全数,改进指定区间内的完全数
随机推荐
Find the median of two positive arrays
Simulation scheduling problem of SystemVerilog (1)
01. Preparation for automated office (free guidance, only three steps)
Chapter 1: extend the same code decimal sum s (D, n)
[wallpaper] (commercially available) 70 wallpaper HD free
Redis master-slave synchronization, clustering, persistence
Using the visualization results, click to appear the corresponding sentence
东数西算拉动千亿产业,敢啃“硬骨头”的存储厂商才更有机会
【数学建模】基于matlab船舶三自由度MMG模型【含Matlab源码 1925期】
第一章:求n的阶乘n!
第二章:求长方体数组,指定区间内的完全数,改进指定区间内的完全数
第一章:简化同码小数和s(d, n)
【Proteus仿真】用24C04与1602LCD设计的简易加密电子密码锁
Free hand account sharing in September - [cream Nebula]
EGO Planner代码解析bspline_optimizer部分(3)
SSM integration - joint debugging of front and rear protocols (list function, add function, add function status processing, modify function, delete function)
[leetcode] [SQL] notes
Next spread
Pecan - route
QT -- qfileinfo file information reading