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 16:40:05 -0700
On Tue, Oct 29, 2013, at 04:05 PM, Kyle Sluder wrote:
> Hmm. I'm rereading the release notes and having a hard time mapping the
> examples to the description of the feature. I've gotta figure out how
> this works anyway, so I'm gonna try to build a test app myself.
Whew. I've got a sample project working:
https://github.com/kylesluder/StringDictTest
Looks like you need an entry in the strings file _as well as_ an entry
in the stringsdict. If you don't provide one, it silently fails to
localize:
https://github.com/kylesluder/StringDictTest/commit/c947b929389b08696ad3d3bdbeae7b8a2bd2f4e1
If you try to be brief by referencing the stringsdict configuration
directly within the strings file, it crashes:
https://github.com/kylesluder/StringDictTest/commit/964eb74d7c536a45172722bbdad027c0920fb020
Hope that helps. This is all awfully verbose and confusing.
--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