• 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: French number localization problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: French number localization problem


  • Subject: Re: French number localization problem
  • From: Chris Suter <email@hidden>
  • Date: Thu, 17 May 2007 05:14:30 +1000


On 17 mai 07, at 03:32, Michael wrote:

Hello,

I have a problem with an edit field used for numbers if the application is running on a French Max OS 10.4.9. The edit field formatter is configured like this:

Positive: #,##0.00
Zero: 0,00
Negative: -#,##0.00

"Localize" and "Add 1000 Separators" are switched on.

Everything works fine if the number is not larger than 999. If the number is 1000 or above I see this message on the log:

... setNilValueForKey: could not set nil as the value for the key height.

Looks as if the number is "converted" to a nil value. If I run the same app under an English or a German system or if I switch off the number formatter this problem does not occur.

Any ideas?

Thank you for your help,
Michael

I've reported this issue to Apple before — you can fix the problem by setting the number formatter behaviour to NSNumberFormatterBehavior10_4 which you have to do programmatically. I don't know of a workaround for those using < 10.4.


- Chris

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

  • Follow-Ups:
    • Re: French number localization problem
      • From: Michael <email@hidden>
References: 
 >French number localization problem (From: Michael <email@hidden>)

  • Prev by Date: Re: Trying to get folder path of a Finder window (Applescript anyone?)
  • Next by Date: Re: Unique items in Core Data models
  • Previous by thread: French number localization problem
  • Next by thread: Re: French number localization problem
  • Index(es):
    • Date
    • Thread