5

For example, when I use the Messages app in which I use one keyboard, and in Xcode, I use only English keyboard. Can macOS switch my keyboard to English when I make the Xcode window active?

4

Follow these steps to changing your keyboard language dynamically:

  1. Open up System Preferences. This should be in your /Applications folder.

  2. Click on "Keyboard":

    System Preferences - Main page

  3. Click on the "Input Sources" tab:

    System Preferences - Keyboard preference pane

  4. You should see a checkbox titled "Automatically switch to a document's input source". Check that checkbox and you're done!

    System Preferences - Keyboard preference pane - Input Sources tab

| improve this answer | |
  • It works with messenger. But doesn't switch language to English in XCode. Maybe there is some input source preferences in XCode? – VladasZs Sep 14 '16 at 15:31
  • 2
    It works! I just switched language to English in XCode once and system remembered it automatically. – VladasZs Sep 14 '16 at 15:41
  • 1
    My god, thanks! Nothing will bring me down today :) – Gelbander Apr 4 '19 at 6:59
1

I have developed a app for this functionality.

GhostSKB - smart switcher of language input source for no-en users of macOS

It will help you to setting default input source for almost every app. By using it, when your app become active, the input source will be automatically changed to the default input source which you setted in GhostSKB.

| improve this answer | |
0

You may also want to try Punto Switcher. Used it for a long time, worked perfectly. They have versions for Mac and Windows. It automagically recognizes the language you typing in and switches keyboard layout to that language, converting everything you have already typed before into correct layout! And it's free.

UPD. You may also have a look to Caramba Switcher. This is newer version of Punto from the same developer. Punto was bought by Yandex and frozen. Caramba is alive.

| improve this answer | |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .