I used the Property List resource template to generate a new property list file 
and then changed the extension from .plist to .stringsdict.
I have also tried changing the file type in Xcode. Nothing has worked for me. 
There is no mention of any special way to create this type of  file. There is 
just an example of its content in the release notes:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
...
</dict>
</plist>

This is what I have been using.

On Oct 29, 2013, at 11:39 AM, Kyle Sluder <k...@ksluder.com> wrote:

>> On Oct 29, 2013, at 8:59 AM, Sean Todd <seant...@me.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to