Right-to-Left in Yiddish in Pages for Mac

internationalizationkeyboardlanguagepages

Pages for mac now supports Hebrew, which is written from right to left. However, Pages does not seem to support custom keyboard layouts other than the system's Hebrew layout(s). I am using Shoshke's Yiddish Kayboard Layout for mac (I don't have enought "reputation" to post the link here, but it is actually not that important) on Yosemite, by the way, which allows me to type Yiddish with punctuation extremely effeciently.

When writing in Pages using the system's native Hebrew layout, this is what I get:

In Yosemite's native Hebrew keyboard layout, Pages for Mac renders the the text correctly.

However, when writing with my custom Yiddish keyboard (which was most probably created using Ukelele), I get this:

Bad right-to-left rendering in Pages for Mac, using a non-native keyboard layout.

As you can see, the period is on the right, while it should be on the left (at the end of the sentence). This is just an obvious example, but when mixing Yiddish and English in the same sentence the result is even worse.

Unfortunately, Pages' paragraph direction controls do not solve the problem. Pages obviously recognizes the input language and implements the right-to-left correcly only for languages it recognizes from the system's native keyboard layouts (e.g. "Hebrew").

Writing Yiddish with the native Hebrew keyboard is possible, but is much much slower for me. Therefore, I am looking for a way to still use the Yiddish keyboard in Pages, which seems very stable and rebust in comparison to other available word processors (not to mention that it was shipped for free with my new mac).

I see 4 ways to go about it:

  1. Editing the native Hebrew keyboard layout, adapting it to my needs (so far I could only find information about creating new custom keyboard layouts, not about changing the system's existing ones; this solution would actually be the best one – as there is absolutely no advanatge of the Hebrew native keyboard over the Yiddish one).
  2. Somehow making Yosemite believe that my custom Yiddish keyboard is a sort of "Hebrew" (currently it puts it under "Others" when installing it from the Keyboard preference pane, which explains why Pages does not identify it as an RTL language).
  3. Somehow making Pages believe that my Yiddish keyboard is a sort of "Hebrew".
  4. Programming keyboard-shortcuts for Pages that would immitate the custom keyboard's behaviour (so far I was only able to find ways to program keyboard-shortcuts for the app's menu items; maybe there is a third-party application that can program such shortcuts?)

I looked for answers online and tried to open the package contents of the Pages app and was just unable to discover how to achieve any of the four solutions… I would truly appreciate if anyone could help me out (and maybe there is another solution?)

Thank you very much!

Best Answer

Pages 5 does have paragraph direction controls. See

https://support.apple.com/kb/PH15331

Regarding 4, you can make text replacement sequences in system prefs/keyboard/text

Regarding 1 and 2, you might ask in the group devoted to Ukelele

https://groups.google.com/forum/#!forum/ukelele-users

In that group they suggested opening the layout with the latest version of Ukelele and setting the Language to Hebrew. I tried that and saved as a bundle and it did the trick: The layout appears under Hebrew instead of Others and periods go in the right place.