Updated: November 9, 2015 (tested on OSX Yosemite 10.10.5)
Having lived in North America for more than 16 years, it becomes harder and harder for me to recall and write Chinese characters. Some input methods become quite unusable for me, such as Changjie (倉頡), Array (行列), and all those that require you to recall how the character looks like, and dissect it according to their radicals (部首). Similarly, hand writing pads (手寫版) do not work either, since I don’t even remember how the characters looks like. Hence the most direct way is to go by Cantonese Pinyin (廣東話拼音), since the phonetic sound the only thing I can retain.
So for you Cantonese-speaking Mac users out there, this is how you do it:
Download and Install:
- Download Yahoo! Key Key 奇摩輸入法 (1.1.2535 for OSX Leopard or later) by clicking here.
(Note: Yahoo has already discontinued the development and support of this software since Jan 15th 2013. So do not remove this dmg file after installation. Keep it around in case you need to install it on another machine later.)
- Install the program first. (You’ll need to log out and log back in after installation.)
Prepare the Cantonese Data File Folder:
- Create a new folder called “DataTables” on your desktop.
- Within the “DataTables” folder, create another folder called “Generic”.
- Download this canton.cin data file (right-click and save link as).
- Copy canton.cin to the “Generic” folder.
Install the Cantonese Data File into Yahoo! KeyKey:
- Now locate “Yahoo! KeyKey.app” in /Library/Input Methods. (Open Finder, under the Go menu, choose “Go to Folder…” or simply press Shift-Apple-G, then type “/Library/Input Methods”.)
- Right-click on “Yahoo! KeyKey.app” and choose “Show Package Contents”.
- Go inside Contents, then Resources.
- Drag the entire “DataTables” folder from your desktop into the “Resources” folder.
- It might ask you to type your admin password to authenticate the copying process. (Note: If there are multiple users on your computer wanting to use this input method, make sure you add read and write access rights to the “DataTables” folder for everyone by right-clicking on the folder, choose “Get Info”, then do it under “Sharing & Permissions”.)
- Now log out and log back in.
- Active the Yahoo! KeyKey input method by going to System Preferences / Keyboard / Input Sources, then click the + sign to add it. It should go under the language “Chinese, Traditional”.
- Now switch to the Yahoo! KeyKey input method and click on the input method icon on the menu bar.
- You should see “Canton” as one of the choices. Check it.
- Also remember to turn on “Associated Phrases” (this is very useful).
- Congratulations! You can start typing away!
- You can turn off all the other input methods by going to Yahoo! KeyKey’s preferences under the General tab.
- In preferences, under the Generic tab, check “Put recently chosen candidates in front” to make frequently typed characters appear further in the front of the character selection pages.
- If you want to add new characters, modify pinyins, or adjust the character position in the selection bar, you can just open up canton.cin in a Unicode text editor like TextWrangler (my favorite!) and edit it yourself. It should be pretty self explanatory, but do it at your own risk! If you want the data file’s formatting documentation, read this.