• 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: Internationalization: How to bring the locale in line with the language?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Internationalization: How to bring the locale in line with the language?


  • Subject: Re: Internationalization: How to bring the locale in line with the language?
  • From: Uli Zappe <email@hidden>
  • Date: Fri, 5 Nov 2004 03:01:35 +0100

Am 05.11.2004 um 00:58 schrieb M. Uli Kusterer:

Have you tried using an NSDateFormatter? That (or any old ANSI C call to printf(), and any call to NSString stringWithFormat:) should let you specify a format string to be used for displaying a number, which includes changing the thousands separators etc.

Yep, of course. My problem was more how to determine which separator should be used.


So, just make that an option that your users can set in your app's Preferences.

Of course, burdening the user with this decision is the easiest solution for the programmer. ;-)


I'm sure I'd personally prefer to decide myself whether I want lists of numbers in German or English in my apps, even if the GUI is English.

I see your point, but I still feel this is too much fuzz to expect the user to set this in each and every app that deals with numbers. For apps where numbers feature a most prominent role, maybe, but my app doesn't fall into this category.


So I think the only acceptable solutions are either a consistent automatic setting (at least as default), which is what I tried to implement, or user-definable separate locale settings for various GUI languages in System Preferences, which is up to Apple.

			Bye
					Uli
________________________________________________________

  Uli Zappe, Solmsstraße 5, D-65189 Wiesbaden, Germany
  http://www.ritual.org
  Fon: +49-700-ULIZAPPE
  Fax: +49-700-ZAPPEFAX
________________________________________________________

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Internationalization: How to bring the locale in line with the language?
      • From: "M. Uli Kusterer" <email@hidden>
References: 
 >Internationalization: How to bring the locale in line with the language? (From: Uli Zappe <email@hidden>)
 >Re: Internationalization: How to bring the locale in line with the language? (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: Formatter, delegate for NSMatrix with NSTextFields
  • Next by Date: Formatters, editing events and NSMatrix
  • Previous by thread: Re: Internationalization: How to bring the locale in line with the language?
  • Next by thread: Re: Internationalization: How to bring the locale in line with the language?
  • Index(es):
    • Date
    • Thread