• 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: Clever question on Localization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clever question on Localization


  • Subject: Re: Clever question on Localization
  • From: Annard Brouwer <email@hidden>
  • Date: Fri, 8 Jun 2001 09:35:30 -0700

There is an entry in NSUserDefaults called "NSLanguages". This is an array of languages that the user prefers. Based on the values in this array NSBundle will choose one of the available localizations.

However, I would like to point out that besides language there are a lot of other interesting values to look up for localization: monetary unit (and how to display these), all kinds of date formatting, and also measurements.
I don't know if the latter is documented but there is an entry called "NSMeasurementUnit" and I think the values can be "Inches" and "Centimeters". A lot of developers don't read this and it leaves me, a foreigner in a country that still hasn't caught up with the rest of the civilised world, with inches for measurements in a lot of applications!

Annard

On Friday, June 8, 2001, at 02:55 , Stiphane Sudre wrote:
How do you know which localization is used in a running Cocoa Applications ?


References: 
 >Clever question on Localization (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: Clever question on Localization
  • Next by Date: Re: "Tricks" of the "Trade"
  • Previous by thread: Re: Clever question on Localization
  • Next by thread: Re: Hidden Comments
  • Index(es):
    • Date
    • Thread