Re: Right-to-Left / Bidi / Arabic / Hebrew support in my app
Re: Right-to-Left / Bidi / Arabic / Hebrew support in my app
- Subject: Re: Right-to-Left / Bidi / Arabic / Hebrew support in my app
- From: Gideon King <email@hidden>
- Date: Sat, 29 Aug 2009 07:23:42 +1000
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 (email@hidden)
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:
This email sent to email@hidden