Some time ago I mentioned a problem on this forum, and no one could provide an answer. Now I think I have got one, but it concerns the output of Ukelele.
I had written some keyboards for classical Greek, and had found that they worked properly in most applications, but *not* in MS Word 2011 (although they did work in older versions of Word). In Word 2011, if you typed a dead key for a classical Greek accent and then mistyped the following letter, for example hitting a consonant instead of a vowel, Word would throw a line of gibberish on to the screen which was very hard to delete. In short, the 'terminator' mechanism was not working. Also, several keyboard shortcuts didn't work, such as Command-b, Command-z and Command-w.
The popular classical Greek program GreekKeys, which works by providing ordinary Mac keyboard bundles, was also having this problem. And the people at GreekKeys have solved it, and have provided a fix at
This fix consists of replacing the Info.plist file with one in which one instruction is revised, as follows:
<dict>
<key>TISInputSourceID</key>
<string>org.sil.ukelele.keyboardlayout.papyrogreek (us).papyrogreek (us)</string>
<key>TISIntendedLanguage</key>
<string>el</string>
</dict>
The important part of this revision is in the second-last line, where the keyboard language is declared as 'el' -- that is, simply as ordinary Greek.
In bundles made by Ukelele, if you select classical Greek as the language, the Info.plist file in the bundle has this instruction:
<dict>
<key>TISInputSourceID</key>
<string>org.sil.ukelele.keyboardlayout.papyrogreek (us).papyrogreek (us)</string>
<key>TISIntendedLanguage</key>
<string>grc-Grek-GR-poly</string>
</dict>
-- that is, the keyboard language is declared as 'grc-Grek-GR-poly'. Word 2011 doesn't understand this declaration, and misbehaves. Evidently other applications simply ignore the instruction and don't throw up a problem.
However, the fact that this fix works raises the possibility that Ukelele may be producing Info.plist files that contain wrong information.
Well, I know how to sort out my Greek keyboards now. But there is a further problem, because I am also putting out Coptic keyboards. Here Ukelele gives this instruction in Info.plist:
<dict>
<key>TISInputSourceID</key>
<string>org.sil.ukelele.keyboardlayout.papyrocoptic (us).papyrocoptic (us)</string>
<key>TISIntendedLanguage</key>
<string>cop-Copt-EG</string>
</dict>
-- that is, the keyboard language is declared as 'cop-Copt-EG'. There are no dead keys in the Coptic drivers to go wrong in Word 2011, but the problem with the Command combinations occurs. I can't declare Coptic as 'el' because the new Unicode page for Coptic no longer uses the standard Greek page as a base; it is completely separate. And as far as I know, the Mac OS doesn't recognise Coptic as a language anyway.
Can anyone suggest what the Info.plist instruction should specify here?
Thanks very much in advance for any help.