Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change Language and Regional settings on Windows

I never tried doing this, but I think it is possible. I need a executable file, or a script, that can automatically change Default Windows Format and Digital symbol.

I need it so that I can one click change the default Region on many PCs. I made a shortcut for opening intl.cpl: C:\Windows\System32\rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,0

But I want it all to be automatic:

  • Change format to: Serbian (Latin, Serbia)
  • Change Decimal and grouping Symbol to:"." and "," respectively
  • And Change RegionSetings to:Serbian (Latin, Serbia)

I found this PowerShell Script but I don't know how to make all changes that I want.

like image 735
Dragan Avatar asked Dec 08 '25 19:12

Dragan


1 Answers

These are the three commands I use for changing Windows 10 to UK English (en-GB / 242), I had a look for the Serbian values and found these from a bit of google-fu:

  • sr-Latn-RS language (from Windows table of Language IDs)

  • 271 for GeoId (from table-of-geographical-locations)

Hopefully those are the correct values for your language/location.

I can't test these commands as I don't have a VM to hand and don't want to change the language on my own system.

Set-WinSystemLocale -SystemLocale sr-Latn-RS
Set-WinHomeLocation -GeoId 271
Set-WinUserLanguageList -LanguageList (New-WinUserLanguageList -Language sr-Latn-RS) -Force

EDIT:

OP found the settings for the other configuration changes:

Set-ItemProperty -Path "HKCU:\Control Panel\International" -Name sDecimal -Value "."
Set-ItemProperty -Path "HKCU:\Control Panel\International" -Name sThousand -Value ","
like image 94
henrycarteruk Avatar answered Dec 11 '25 10:12

henrycarteruk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!