• 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: Sean Todd <email@hidden>
  • Date: Tue, 29 Oct 2013 19:50:06 -0500

I modified my stringsdict file by adding the 2 plurality forms which I had not used previously: few and many. With this change I now see the expected outcome. OK--so I removed the 2 new key/value pairs so that the file was returned to its state when it was not working and re-checked. Behold, it is working correctly. I don’t know why it was not working before but it is working now. Something seems fragile here. Anyway, thanks for the assistance.

Sean Todd

On Oct 29, 2013, at 6:40 PM, Kyle Sluder <email@hidden> wrote:

> 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


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>)
 >Re: NSBundle using .stringsdict files MIA in 10.9? (From: Kyle Sluder <email@hidden>)

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