HanYoung
A menu bar app that switches between Korean and English the moment you press the right Command (⌘) key. I made it for people with external keyboards who want it to work like the Han/Yeong key on Windows.
How to useInstallTroubleshooting
Why I made it
I type on a Happy Hacking Keyboard and used Karabiner-Elements to switch languages with the right ⌘ key. One day the switch started lagging by half a beat. If I switched and typed quickly, the first letter came out in the old language. So I made an app that does just this one thing, and does it fast.
What it does
The menu bar shows 한 or A for the current input language. You turn features on and off from that menu.
| Feature | Default |
|---|---|
| Right ⌘ on an external keyboard switches Korean/English | On |
| Same on the built-in MacBook keyboard | Off |
| Turn left ⌃ Space into F19 | On |
| Switch to English when you press Esc | Off |
| Switch to English when you go to Terminal or iTerm | Off |
| Open at login | Off |
If you use ⌃Space for something else, turn off Left ⌃Space → F19. The menu follows your Mac's language, and you can change it under Language / 언어.
Why it's fast
macOS key mapping turns the right ⌘ key into F18, and when HanYoung sees F18 it changes the input source itself. The app you're typing in needs a tiny moment to notice the new language, so any key you press in that moment is held for at most 0.02 seconds and then passed along in order. Test and Tune Switching in the menu tries several approaches with real key presses and keeps the most accurate one.
Install
You need the ABC and 2-Set Korean input sources.
- Download HanYoung-1.1.zip, unzip it, and move
HanYoung.appto your Applications folder. - Open the app. If macOS blocks it, follow these steps.
- Go to System Settings → Privacy & Security → Accessibility and turn on HanYoung. It's ready when the
!next to the menu bar icon disappears. - In the HanYoung menu, turn on Open at Login.
If Karabiner-Elements is also controlling the same keyboard, the right ⌘ setting may not take effect.
Troubleshooting
- The menu bar shows
한!orA!: the permission isn't active. Remove HanYoung from the Accessibility list and add it again. - The first letter comes out in the old language: run Test and Tune Switching from the menu.