Re: Right-to-Left / Bidi / Arabic / Hebrew support in my app

2009-08-31 Thread Marc Wandschneider
Thanks for the feedback. In general, I've found that while the controls do, indeed, seem to align the text correctly for input in bidi locales, there is little support in things like IB for putting the label on a box at the top right instead of the top-left, and also in code for determining what

Re: Right-to-Left / Bidi / Arabic / Hebrew support in my app

2009-08-31 Thread Benjamin Stiglitz
It looks like I'll just have to use other controls to do the same effect in IB, and just check of locale.name == ar || he in code to do the reverse drawing. On 10.6 your heuristic should instead mirror the value of the new -userInterfaceLayoutDirection accessor in NSApplication (and NSCell).

Re: Right-to-Left / Bidi / Arabic / Hebrew support in my app

2009-08-31 Thread Ken Ferry
On Aug 31, 2009, at 8:51 AM, Marc Wandschneider marc...@chipmunkninja.com wrote: Thanks for the feedback. In general, I've found that while the controls do, indeed, seem to align the text correctly for input in bidi locales, there is little support in things like IB for putting the label

Right-to-Left / Bidi / Arabic / Hebrew support in my app

2009-08-28 Thread Marc Wandschneider
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.

Re: Right-to-Left / Bidi / Arabic / Hebrew support in my app

2009-08-28 Thread Gideon King
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