• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Question about hebrew in textfields and textviews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about hebrew in textfields and textviews


  • Subject: Re: Question about hebrew in textfields and textviews
  • From: Aviah Morag <email@hidden>
  • Date: Wed, 11 Apr 2012 11:05:49 -0700

First of all, it's true that having fields with natural directionality will give you the proper runtime directionality (RTL/LTR) depending on the language in which the user is typing. To my knowledge, that doesn't affect the alignment (left/right), even if it would make sense for it to do so. If your app is not localized (i.e., you're just allowing text input, not actually providing a fully translated interface), you'll need to change the alignment based on the currently selected language. Is this what you are aiming for?

Aviah Morag
email@hidden




On 11 באפריל 2012, at 10:26, Kyle Sluder wrote:

> On Apr 11, 2012, at 10:17 AM, Matthew Weinstein <email@hidden> wrote:
>
>> Thanks for all the replies. Unfortunately NSNaturalTextAlignment doesn't seem to affect the justification of the textfields. Try creating a simple project and simply put a textfield and textview in the window in MainMenu.xib. Changing the input to hebrew, running the program does change the text to LTR but it's still justfied on the wrong side.
>
> Changing the input method or changing the system language? These are two different things.
>
> --Kyle Sluder
> _______________________________________________
>
> 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

_______________________________________________

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


References: 
 >Re: Question about hebrew in textfields and textviews (From: Matthew Weinstein <email@hidden>)
 >Re: Question about hebrew in textfields and textviews (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Networking and sleep
  • Next by Date: Re: A question about core data.
  • Previous by thread: Re: Question about hebrew in textfields and textviews
  • Next by thread: Re: Question about hebrew in textfields and textviews
  • Index(es):
    • Date
    • Thread