MacKey-FreanchJapanese

(※2015.7.29 new)

Hi. 
This is a good tip for Mac user who have to use multi languages. 

I use English, Japanese, and Korean input source on Macbook Air. ^^
So I have to switch these three languages so often to write articles in Japanese, and Korean, and also English.
You may could switch input source by simple shourtcut on Mac, in the old days, because there were the settings for one push shourtcut setting for input source.
 
But, the function is no more exist now, so I searched the sipmle shortcut free application on internet. 
I found and tried some, but they never worked well and only bothered me.
Then I reallized that when I use more than 3 language, these shortcut apps dosen't work well on Mac OS. Karabiner is one of them.

But I couln't bear to use annoying switching by [command+space]. I often push too much times, and then I have to push two more times again to switch to the language I want.

Then, the savior came out and saved me on the community about  Karabiner(former KeyRemap4MacBook), an application for remapping keys on Mac OS.

So I heard about the ideas of the code for switching input sources there,  and I tried to arrange the code to switch languages...
Then, it works! OMG!  Wonderful!

I made the system of more than 11 shortcut keys for switching 5 input sources at only one touching.
I will introduce the way to setting this system, named "Pochi".

You don't need to push [command +space] to change language any more.
You can change until 5 languages(input source) at one push shortcut key.
You can use English, French, German, Spanish, Portuguise, Russian, Japanese, Korean, Chinese, and every languages, of course.


Pochi (One Shot Input Source Shortcut)(Ver.5.3)​ 
 
1. Well, you have to install the free application, "Karabiner" first.


↓ You can download and install here.
(※ If you have Karabiner or KeyRemap4MacBook, please check #2 below.)

 
2. Then, launche the Karabiner app on Launchpad.
(I recommand you to set the app to the first pace of Launchpad.)

28



Karabiner is very useful and excellent program for customising Mac keybord settings.

(You can read the way to use this app on  
https://pqrs.org/osx/karabiner/document.html.en , but you don't have to memorize this way now.)


3. Click the tab "Misc&Uninstall" on the right side.

Then click "Open private.xml" on the middle of this page.

スクリーンショット_2014-08-09_5_17_57

Then "Karabiner" folder will be opened and you can see "private.xml" file. in th folder.
(If you don't have file extensions displayed, you will see the file name "privete".
  

4. Delete this "private.xml" file.


5. Then, download this file here and extract it.
  ↓


6. You can see the folder; name is "POCHI5.3". 
 Move "pochi" folder and "private.xml" file to the "Karabiner" folder that you have opened already.


7. Then, Open Keyboard setting and select "shortcut" tab.

And check the shortcut key that is set like this picure below.
The second one has to be   
" [✓] Select next source in Input menu   ⌥⌘Space "
      
InputsourceENG
If it is not, please click "Restore Defaults" butten, and check the second check box.


8. Then, let's return to the Karabiner.
Select the tab "Change Key" on the left side.changekey3
9.  Click "Reload XML".

You will find the menu "Pochi - for Multi Input Source User" on the top of remapping lists like the picture above.

Click it, and these menus will appear. 

  "Input Source Shortcut"
  "For Japanese Input User"
  "For Korean Input User"
  "Extra Key Settings"

47


Click "Input Source Shortcut", and 12 type of shortcut settings will appear like below.
 
25

  "Right-Command(⌘) Key to 2nd input source" means "Use Right Command Key to change to the second language."

I made these 12 shortcuts.    (on windows extra keybord)
  • Left-Control(^) Key + Number Key
  • Right Command(⌘)          (Alt)
  • Right Option(⌥)             (Right Windows Key)
  • fn Key
  • Left Command(⌘)          (Left Alt)
  • Left Option(⌥)                (Left Windows Key)
  • Left Control(^)
  • Kana(かな)                          (한/영 Key)
  • 英数(EISUU)                       (한자 Key)
  • Left Control(^) + K
  • Left Control(^) + i 
  • Left Command(⌘) + Space
You can set input sources to each these 12 shortcuts. (maximam 5 input sources)


10. When you check the box you want, the setting will work right now on.
You can set one input source to many shortscut keys, but you can use only one action by one shortcut key.  So please check only one Input sourch for each shortcuts.

(If you check more than two Input sourses, the upper one will work only.)


11. You have to notice about the number of the input source that you have to use.
Maybe you use  [command + Space] to change input source. When you use this command, the order of the sourses change following to the input source that you have used right before.

So let's check the order number of the language you want to use.
Please check the 5 boxes on the top of

  'Input Source Shortcut'
     'Left-Control(^) Key + Number Key'.

And if you push Control+1~5, you can find the input source you want to use.
You can use another shortcut settings below as the number.


Or you can also use [Option+Command+Spanse] to check the order of input sources.

 (1) First, change to English.
 (2) Press [Option+Command+Space] to change to the input source that you need.
   (3) Check the number that you pressed to change the input source.

※ You can't see the name of languages displayed on center. Please watch at the language flas mark on the upper right.

※ English always must be the first input source. 

If you want to switch to Chinese and when you press  [Option+Command+Space] 3 times to change to Chinese it turns to Chinese, that meas Chinese is the 4th input source. 
If you press 4times, it is 5th input source, you see.

※ There is some language IME that use more than two input sources like "ことえり(Kotoeri)”. I recommend you to check off the check box except "Hiragana".

The order of the input sources changes is from the sistem of languages.
You can change the order in "Sistem Preferences > Language & Rejion". 
 44

 
I think useful shortcut is the first one, "Right-Command(⌘) Key"
You can use this key like KANA Key on the Japanese Keyboard.
And also use "Left-Command(⌘) Key to English".
If you add one more language, "Right-Option", or "Left-Option" key will be fine.

If you want to swich them faster, I recommend you to use [Left control(^) + i ] or [Left control(^) + k ] . Because you can use the shortcut keys in home position.
And you'd be better to change Caps Lock and Control by Mac OS setting. 
(You can change them in System Preference > Keyboard > Keybord tab > Modefier Keys butten.)

I use [Left control(^) +  i ] to change to Korean. It's possible to push in home position, very confortablly.

▶For Japanese Input  User
I made the settings for Jananese input user.

  [Right Command] to KANA Key.
  [Left Control(^) + J] to Japanese.


▶For Korean
And I made some settings for Korean input user.
More information is on this blog
http://blog.naver.com/minority25/220319932301

▶For Extra Key Settings
This is additional settings I want to use in some situation. 
・Shift + ¥ Key to Underbar
・Right-Command + ¥ Key to ¥
・¥ Key to Delete
・¥ Key to Forward Delete
・Right-Shift Key to Underbar Key
・¥ Key to Backslash
・Option _R to fn
・Right Shift+Delete to Command+Delete
・Control+J to Delete
・Control+Return to Line Break in EXCEL
・Control+A to Line Cell Top in EXCEL
・Control+E to Line Cell End in EXCEL

=======================
Attention

#1. For Pochi, you can only use 5 input sources. When you use Kotoeri, I recommend you to remove Katakana, Romaji, etc. withtout Hiragana.

#2. If you had used Karabiber or KeyRemap4MacBook before, you may could have used original settings on "private.xml." 
So please open "private.xml" once and check the contents. 
If there are many articles there more than 4 lines, you have used it by your original setting.
Then, back up "private.xml" and, copy these texts.


    <item>
        <name>Pochi - for Multi Input Source User</name>
        <include path="pochi/pochi_base.xml" />        
    </item>


and paste this texts next to  <root> in "private.xml" text which is in "Karabiner" folder.
And move "Pochi5.3" folder only to "Karabiner" folder.

Then, you can use both original settings. 

If there are only 3 lines in "private.xml", just delete the file and go to 5. 

#3. If you use more than 3 input sources,  you can't use toggle key. 
So you will be better to set shortcut by Pochi.


#4. When you inport new language, it may not work at the firts time.
Please press [command+spase to ] for the language once.
And then Pochi will work well to change the source. 

#5. If you choose [Command_L(⌘) + Space to **Input Source], you can not select input source by Command_L(⌘) + Space as usual (the name of input source appearing on the center of monitor). 
But you can select input source by Option+Command+Space. (the name of input source doesn't appear on the center of monitor. You have to watch the small flag mark). 
And you can change the shortcut key in Sinsem Preference > Keyboard > Shortcuts.



If you rewrite the code, you can add new 6th input source or more shortcut keys.

Have wonderful Mac Life! ^^