• 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: NSBundle using .stringsdict files MIA in 10.9?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSBundle using .stringsdict files MIA in 10.9?
      • From: Sean Todd <email@hidden>
References: 
 >NSBundle using .stringsdict files MIA in 10.9? (From: Sean Todd <email@hidden>)
 >Re: NSBundle using .stringsdict files MIA in 10.9? (From: Kyle Sluder <email@hidden>)
 >Re: NSBundle using .stringsdict files MIA in 10.9? (From: Kyle Sluder <email@hidden>)
 >Re: NSBundle using .stringsdict files MIA in 10.9? (From: Sean Todd <email@hidden>)
 >Re: NSBundle using .stringsdict files MIA in 10.9? (From: Kyle Sluder <email@hidden>)
 >Re: NSBundle using .stringsdict files MIA in 10.9? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: NSBundle using .stringsdict files MIA in 10.9?
  • Next by Date: Pixel perfect drawing on magnified view
  • Previous by thread: Re: NSBundle using .stringsdict files MIA in 10.9?
  • Next by thread: Re: NSBundle using .stringsdict files MIA in 10.9?
  • Index(es):
    • Date
    • Thread