We can find system locale using systeminfo command as shown below.
systeminfo | findstr /B /C:”System Locale”
Example:
C:\>systeminfo | findstr /B /C:”System Locale”
System Locale: en-us;English (United States)
Few blog readers had put this question whether it is possible to change the system locale from command line? I do not know if this is possible. If you know how to change system locale from command prompt please let us know by writing in the comments section below.
Dear Sir,
I would like to get a list of hardware in pc by command line.
Do you have any idea for me?
Please reply me to know by email: chatchai.keng@gmail.com
Thank you very much.
Chatchai.
Just run Systeminfo command without passing any parameters..it displays hardware information..
Hello,
I have win XP and win 7 and I tried in command prompt(DOS): systeminfo | findstr /B /C:”System Locale” and systeminfo but both doesnt work…
Do you know why?
I really need to know what are my locales available because i use GETTEXT function for translation but it only translate in engish and not in french….
Please help me please!!
This blog is good, Thanks alot
Cgange from command prompt for Vista / Windows 7
http://blogs.msdn.com/b/shawnste/archive/2007/04/12/configuring-international-settings-from-the-command-line.aspx
http://msdn.microsoft.com/en-ie/goglobal/bb964650(en-us).aspx
Do not use findstr.
you can use C:\>systeminfo | find /i “System Locale” and it should give you correct input.
This command worked.thanx
Great! how do we get this output into a variable?
Hi,
Beware, it occurred to me that this value was wrong in some situations.
A better way to retrieve System Locale is by
1) open Windows Powershell
2) run command
>Get-WinSystemLocale
a+,=)
-=Clement=-
Configuration:
Windows Server 2016 Datacenter No servicepack
I have a problem. In my system I have set system locale to simplified chinese china, but After Entering this command it is showing “4009”. While in other systems Locale is set to simplified chinese but there it is showing “Zh-cn:Chinese (China) (Which is correct). Why does my system shows output like this?