• 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: NSThisDayDesignations replacement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSThisDayDesignations replacement


  • Subject: Re: NSThisDayDesignations replacement
  • From: Chris Kane <email@hidden>
  • Date: Wed, 20 Jun 2007 09:48:42 -0700

On Jun 19, 2007, at 3:53 AM, Vincent Le Normand wrote:
Current Foundation release notes (http://developer.apple.com/ releasenotes/Cocoa/Foundation.html) indicates that NSThisDayDesignations, NSPriorDayDesignations (and others constants) will be deprecated.

Is there any other way to get "Today" and "Yesterday" translation for current language (other than translating "Today" and "Yesterday" by myself)?


No.

If you trust those localizations as accurate*, grab a copy of each of those words from:

/System/Library/Frameworks/Foundation.framework/Resources/Languages/

in 10.4, and create strings files for each language you want to support.


* beyond standalone correctness, I could also say "accurate for the context in which you are using them".



Chris Kane Cocoa Frameworks, Apple


_______________________________________________

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: NSThisDayDesignations replacement
      • From: Deborah Goldsmith <email@hidden>
References: 
 >NSThisDayDesignations replacement (From: Vincent Le Normand <email@hidden>)

  • Prev by Date: Re: Core Data Status
  • Next by Date: Re: Core Data Status
  • Previous by thread: Re: NSThisDayDesignations replacement
  • Next by thread: Re: NSThisDayDesignations replacement
  • Index(es):
    • Date
    • Thread