Re: NSBundle using .stringsdict files MIA in 10.9?
Re: NSBundle using .stringsdict files MIA in 10.9?
- Subject: Re: NSBundle using .stringsdict files MIA in 10.9?
- From: Kyle Sluder <email@hidden>
- Date: Tue, 29 Oct 2013 09:39:36 -0700
> On Oct 29, 2013, at 8:59 AM, Sean Todd <email@hidden> wrote:
>
> According to the Framework release notes and WWDC 2013 videos, -[NSBundle localizedStringForKey:value:table:] is supposed to query a .stringsdict file for a key before looking in a .strings file. However, I find that a .stringsdict file is never used. I have created a property list file with the .stringsdict extension containing the appropriate keys/values as shown in the release notes and placed it into the appropriate lproj directory.
I haven’t tried the functionality out yet myself, but when you say “created a property list file,” do you mean an actual XML property list? I would be surprised if that worked. The example stringsdict uses a syntax not dissimilar from the typical ASCII-plist-esque strings file.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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