Skip to content

Instantly share code, notes, and snippets.

@dogancelik
Last active February 15, 2022 12:23
Show Gist options
  • Save dogancelik/4749341 to your computer and use it in GitHub Desktop.
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)
# 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
}
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