当前位置:网站首页>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
边栏推荐
- We have built an intelligent retail settlement platform
- ActiveMQ的基础
- Use unique_ PTR forward declaration? [repetition] - forward declaration with unique_ ptr? [duplicate]
- The way to treat feelings
- I study database at station B (4): DQL
- Chapter 1: sum of three factorials, graph point scanning
- Ego planner code parsing Bspline_ Optimizer section (2)
- 【LeetCode】【SQL】刷题笔记
- Web Security (VIII) what is CSRF attack? Why can token prevent csdf attacks?
- 第一章: 舍罕王失算
猜你喜欢

Chapter 1: King Shehan miscalculated

Flume learning notes

Buuctf's different flags and simplerev

Foundation of ActiveMQ
![[disease identification] machine vision lung cancer detection system based on Matlab GUI [including Matlab source code 1922]](/img/fc/00835b95537cf889588502a3d13bc9.png)
[disease identification] machine vision lung cancer detection system based on Matlab GUI [including Matlab source code 1922]

第二章:4位卡普雷卡数,搜索偶数位卡普雷卡数,搜索n位2段和平方数,m位不含0的巧妙平方数,指定数字组成没有重复数字的7位平方数,求指定区间内的勾股数组,求指定区间内的倒立勾股数组

Record: solve the problem that MySQL is not an internal or external command environment variable

2022.2.14 Li Kou - daily question - single element in an ordered array

Chapter 1: sum of three factorials, graph point scanning
![[optics] dielectric constant calculation based on MATLAB [including Matlab source code 1926]](/img/cb/ee696d5a7d6bef96fe0db89e8478ed.jpg)
[optics] dielectric constant calculation based on MATLAB [including Matlab source code 1926]
随机推荐
2022.2.14 Li Kou - daily question - single element in an ordered array
【Proteus仿真】用24C04与1602LCD设计的简易加密电子密码锁
SSM整合-前后台协议联调(列表功能、添加功能、添加功能状态处理、修改功能、删除功能)
Nous avons fait une plateforme intelligente de règlement de détail
Web Security (VIII) what is CSRF attack? Why can token prevent csdf attacks?
Zhang Fei hardware 90 day learning notes - personal record on day 6. Please see my personal profile / homepage for the complete record
Ego planner code parsing Bspline_ Optimizer section (3)
[optics] vortex generation based on MATLAB [including Matlab source code 1927]
为什么要做特征的归一化/标准化?
Next spread
Day10 ---- 强制登录, token刷新与jwt禁用
Record: pymysql is used in pycharm to connect to the database
Pecan — @expose()
Common text labels
【疾病识别】基于matlab GUI机器视觉肺癌检测系统【含Matlab源码 1922期】
Analysis of dart JSON encoder and decoder
Chapter 1: recursively find the factorial n of n!
Summary of composition materials for 2020 high-frequency examination center of educational resources
Pecan - route
[leetcode] [SQL] notes