Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X > Mac OS X 10.7 Lion

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 6, 2012, 09:16 PM   #1
i'mnewhere
macrumors newbie
 
Join Date: Feb 2012
Character accent menu (for pinyin)

A very well designed new feature in Lion is the character accents menu that pops up when you extend the keypress on vowel input:



those that don't need to use access accents can revert back to the classic key repeat function by typing the following command in terminal:

Code:
defaults write -g ApplePressAndHoldEnabled -bool false
to toggle function use:

Code:
defaults write -g ApplePressAndHoldEnabled -bool true
I'm wondering if there is a way to edit the accent menu to show the accents that are used for a specific language ie. to only show the four tones used used to input words from chinese/mandarin:

ā ǎ
1 2 3 4
i'mnewhere is offline   0 Reply With Quote
Old Jan 5, 2013, 02:19 PM   #2
Let's Sekuhara!
macrumors 6502
 
Join Date: Jun 2008
Location: 日本
Quote:
Originally Posted by i'mnewhere View Post
I'm wondering if there is a way to edit the accent menu to show the accents that are used for a specific language ie. to only show the four tones used used to input words from chinese/mandarin:

ā ǎ
1 2 3 4
I'm wondering the same thing. Any ideas?

----------

Found it!!!
http://apple.stackexchange.com/quest...r-in-os-x-lion
__________________
27" i7 iMac | 11" MacBook Air | Black MacBook | iPhone 5
Favorite Mac apps: Blender | Ableton Live | Reason
Let's Sekuhara! is offline   0 Reply With Quote
Old Jan 8, 2013, 02:39 AM   #3
Let's Sekuhara!
macrumors 6502
 
Join Date: Jun 2008
Location: 日本
拼音 Input Made Simple(er) on OS X 10.7+

So here's how to customize OS X's Press-and-Hold menu to be optimized for Pinyin accented Chinese characters.



First, using Finder, Go > Go to Folder... (Shift+Cmd+G)
and navigate to:
Code:
/System/Library/Input Methods/PressAndHold.app/Contents/Resources/Keyboard-en.plist
Now you can open your .plist file with an app such as TextWrangler (available on the Mac App Store) or Property List Editor.
(Yes, at this point it would be a good idea to make a backup of your existing .plist file somewhere in case you ever decide to revert to it)

But wait... it gets easier! → To save you a bunch of time, I have already tailored the .plist file to be specialized for the four Pinyin tones.
And you can download it here:
Keyboard-en.plist for Pinyin
(Right Click and Save Link As...)

For the geeks out there who really want to know, here's a summary of the changes made to the .plist file:
Each of the four Mandarin Chinese vowel sounds have had their accent order arranged to be
1.ā 2. 3.ǎ 4. (subsequent accents now follow after the main four, but are still included in the menu)
for U there are two more 5.ǚ 6.ǜ ...and these can be triggered by typing either U or V keys.
It is set to work for both lower and upper case.


For optimal efficiency it is recommended that you also minimize the Press-and-Hold delay by going to System Preferences > Keyboard > Delay Until Repeat and moving the slider all the way to Short.

Questions? Comments? PM me.
__________________
27" i7 iMac | 11" MacBook Air | Black MacBook | iPhone 5
Favorite Mac apps: Blender | Ableton Live | Reason

Last edited by Let's Sekuhara!; Jan 8, 2013 at 03:01 AM.
Let's Sekuhara! is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > Mac OS X 10.7 Lion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Funny Siri accent. sundog925 iOS 7 3 Oct 8, 2013 07:31 PM
iPhone: Accent SB Weather ipawnforfun1 Jailbreaks and iOS Hacks 0 Mar 21, 2013 12:03 PM
Help! How to input Chinese with pinyin carbonmotion OS X 2 Nov 11, 2012 08:09 PM
Modify Accent Menu - possible? cymad OS X 10.8 Mountain Lion 1 Oct 11, 2012 01:22 PM
How to turn off the candidate window when using pinyin? alantllau OS X 10.8 Mountain Lion 0 Jul 27, 2012 11:24 AM

Forum Jump

All times are GMT -5. The time now is 12:29 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC