Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ScribbleGhost/90c62cbaec582a5c5df953f10b2138f9 to your computer and use it in GitHub Desktop.
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
# 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