NSCell, NSControl, NSText, NSParagraphStyle etc all have baseWritingDirection getters and setters which may be of some help...I believe the writing direction is determined on a paragraph by paragraph basis, but unless explicitly set uses the Unicode Bidi Algorithm rules P2 and P3.

In many cases, people writing in an RTL locale need to include English in the text too, and the text system handles this nicely - I have seen this often with our NovaMind users creating Mind Maps in Hebrew and Arabic.

I wasn't directly involved in the localization into Hebrew, but I believe that the controls just did the right thing - I certainly can't see any code that we had to put in to explicitly support it. Hope this helps.

Gideon


On 27/08/2009, at 12:35 PM, Marc Wandschneider wrote:

Hello!
I recently received an Arabic translation for my application JustLooking,
and have started looking at how to integrate the strings I was given.
Unfortunately, I'm not finding much documentation or visual indications in
apps like Interface Builder on how to enable RTL support.
...

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to