Last active
February 15, 2022 12:23
-
-
Save dogancelik/4749341 to your computer and use it in GitHub Desktop.
(PowerShell) Set Language List to Turkish and Japanese / Set Keyboard Layout to US (Turkish Q)
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
# Credit: http://drizin.io/Change-Keyboard-Input-Languages-with-Powershell/ | |
$currentLangAndKeyboard = (Get-WinUserLanguageList).InputMethodTips | |
if ($currentLangAndKeyboard -eq "0409:00000409") | |
{ | |
$langList = New-WinUserLanguageList en-US | |
$langList[0].InputMethodTips.Clear() | |
$langList[0].InputMethodTips.Add('0409:0000041F') | |
Set-WinUserLanguageList $langList | |
} |
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
Import-Module International | |
Set-WinUserLanguageList -LanguageList "tr", "ja-JP" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment