0

So, I have set my keyboard language setting as "per app" (not global as Win 10 default) and I use some apps only with English layout, but when I run them, they always start with Russian keyboard layout. Is it possible to run an app with English layout preset (say, cmd)? Ideally, I'd like to change my .lnk files in some fashion like

C:\some path\anApp.exe
C:\Windows\System32\cmd.exe --keyboard-language en-us
C:\some path\anotherApp.exe --keyboard-language ru

so that they launch the app in that way; but cmd or AutoHotKey scripts are also acceptable.

YakovL
  • 759
  • 1
  • 7
  • 25
  • If [this question](https://superuser.com/questions/1262073/per-app-input-language-windows-10) gets an answer that would be sufficient – YakovL Dec 17 '18 at 14:41
  • Although [here](https://superuser.com/q/384775/576393) is no accepted answer, my question actually duplicates it – YakovL Dec 17 '18 at 14:48

2 Answers2

0

Looks like https://github.com/xupefei/Locale-Emulator deserves a try, the claimed functionality seems to be exactly what I need

YakovL
  • 759
  • 1
  • 7
  • 25
-1

I'm not sure if this is what you're looking for but there is this. Settings -> Time & Language -> Region & Language -> Additional Date, Time & Language Settings -> Advanced Settings -> Switching Input Settings. They couldn't have hidden it any better!!!

boxa72_dev
  • 29
  • 1
  • 3
  • yeap, I was there, but there's no hint about how to set a per-app on-open layout, only a setting to allow per-app layout – YakovL Apr 19 '17 at 13:51
  • It probably has to be done programmatically although my forte is C & Python whereas you'll probably need to write C# for this, there might be a PowerShell cmdlet – boxa72_dev Apr 19 '17 at 14:08
  • hmm, according to [this article](https://www.addictivetips.com/windows-tips/how-to-set-language-on-a-per-app-basis-in-windows-10/) the chosen languages should be saved on per-app basis so once one reopens them, they should get restored.. which is not the case for me! (for instance, for cmd) Either the article is wrong or this is a bug – YakovL Dec 17 '18 at 14:35
  • No such settings on my win 10 system. – Tomáš Zato Apr 02 '19 at 15:53