Set Keyboard and Display Language
by Maurice Suter
# Author: Maurice Suter
# Date: 10.12.2022
# Overrides the UI Language, otherwise it would be the one from the LanguageList
Set-WinUILanguageOverride en-US
# "legacy" if unicode is not supportet, has to be the same as the UI Language
Set-WinSystemLocale -SystemLocale en-US
# Set regional settings to DE-Switzerland
# Includes the names for the culture, the writing system, the calendar, and formatting for dates and sort strings
Set-Culture de-CH
# Sets the language list and associated properties for the current user account
# Includes input method, spelling setting, text prediction setting, and handwriting input mode
Set-WinUserLanguageList de-CH -Force
# Delete all Keyboard Layouts but de-CH
$1 = Get-WinUserLanguageList
$1.RemoveAll( { $args[0].LanguageTag -clike '' } )
# $1.Add('en-US')
$1.Add('de-CH')
Set-WinUserLanguageList $1 -Force
Last updated
Was this helpful?