Created
December 24, 2020 12:22
-
-
Save andreasbotsikas/bb9ed51d5f798e7a0b4edf6195e07cbd to your computer and use it in GitHub Desktop.
Remove qaa-Latn unknown locale
This file contains hidden or 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
# First add it to the list (it is not there initially) | |
$LanguageList = Get-WinUserLanguageList | |
$LanguageList.Add("qaa-latn") | |
Set-WinUserLanguageList $LanguageList -Force | |
# Refresh the list (may not be needed) | |
$LanguageList = Get-WinUserLanguageList | |
# Get reference to the locale we want to remove | |
$Language = $LanguageList | where LanguageTag -eq "qaa-Latn" | |
$LanguageList.Remove($Language) | |
Set-WinUserLanguageList $LanguageList -Force | |
# Thanks to https://superuser.com/a/1540185 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment