Last active
July 29, 2023 14:28
-
-
Save ScribbleGhost/90c62cbaec582a5c5df953f10b2138f9 to your computer and use it in GitHub Desktop.
Keep Windows 10 display language English but set all regional settings to Norwegian including keyboard input
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set WinUserLanguageList as a variable | |
$lang = Get-WinUserLanguageList | |
# Clear the WinUserLanguageList | |
$lang.Clear() | |
# Add language to the language list | |
$lang.add("en-US") | |
# Remove whatever input method is present | |
$lang[0].InputMethodTips.Clear() | |
# Add this keyboard as keyboard language | |
$lang[0].InputMethodTips.Add('0409:00000414') | |
# Set this language list as default | |
Set-WinUserLanguageList $lang -Force | |
# Make region settings independent of OS language | |
Set-WinCultureFromLanguageListOptOut -OptOut $True | |
# Set region to this Country | |
Set-Culture nb-NO | |
# Set the location to this location | |
Set-WinHomeLocation -GeoId 0xb1 | |
# Set non-unicode legacy software to use this language as default | |
Set-WinSystemLocale -SystemLocale nb-NO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment