• 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: Torsten Curdt <email@hidden>
  • Date: Fri, 8 Aug 2008 00:13:34 +0200


On Aug 7, 2008, at 23:59, Douglas Davidson wrote:


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:.

Aaaah ....I see. Thanks, Douglas!

cheers
--
Torsten
_______________________________________________

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

  • Prev by Date: Re: locale of embedded frameworks
  • Next by Date: Does NSTextField conform to NSEditor (commitEditing specifically)?
  • Previous by thread: Re: locale of embedded frameworks
  • Next by thread: Preventing deselection of NSOutlineView item
  • Index(es):
    • Date
    • Thread