Re: NSThisDayDesignations replacement
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