• 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: locale of embedded frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: locale of embedded frameworks


  • Subject: Re: locale of embedded frameworks
  • From: Douglas Davidson <email@hidden>
  • Date: Thu, 7 Aug 2008 14:59:57 -0700


On Aug 7, 2008, at 2:55 PM, Torsten Curdt wrote:

More details about the problem. For example, what the code looks like in your framework at the point at which the localized strings are being retrieved,

Just NSLocalizedString(@"text", nil)

There's your problem. That obtains localized strings from the main bundle--that is, your app bundle, not the framework bundle. You want NSLocalizedStringFromTableInBundle() with the appropriate bundle, obtained via bundleForClass: or bundleWithIdentifier:.


Douglas Davidson

_______________________________________________

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: locale of embedded frameworks
      • From: Torsten Curdt <email@hidden>
References: 
 >locale of embedded frameworks (From: Torsten Curdt <email@hidden>)
 >Re: locale of embedded frameworks (From: Douglas Davidson <email@hidden>)
 >Re: locale of embedded frameworks (From: Torsten Curdt <email@hidden>)

  • Prev by Date: Re: locale of embedded frameworks
  • Next by Date: Re: locale of embedded frameworks
  • Previous by thread: Re: locale of embedded frameworks
  • Next by thread: Re: locale of embedded frameworks
  • Index(es):
    • Date
    • Thread