• 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
NSLocalizedStringFromTableInBundle Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSLocalizedStringFromTableInBundle Questions


  • Subject: NSLocalizedStringFromTableInBundle Questions
  • From: Todd Fantz <email@hidden>
  • Date: Fri, 10 Apr 2009 12:11:05 -0400

Hello,

I am trying to do some localization in a plugin... and apparently you can't use NSLocalizedString in a plugin... so I am trying to use NSLocalizedStringFromTableInBundle

NSString *NSLocalizedStringFromTableInBundle(NSString *key, NSString *tableName, NSBundle *bundle, NSString *comment)

I am having a hard time constructing the bundle reference... if I use [self mainBundle] I get the same results as if I use NSLocalizedString, so I assume it isn't finding my .strings file

If I do a NSBundle *thisBundle = [NSBundle bundleForClass:[self class]]; it won't compile.

Thanks in advance for any advice.
Todd Fantz
email@hidden
_______________________________________________

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: NSLocalizedStringFromTableInBundle Questions
      • From: Dave Keck <email@hidden>
    • Re: NSLocalizedStringFromTableInBundle Questions
      • From: Benjamin Stiglitz <email@hidden>
  • Prev by Date: Re: Value Transformer Name
  • Next by Date: WebKit Caching
  • Previous by thread: Re: Value Transformer Name
  • Next by thread: Re: NSLocalizedStringFromTableInBundle Questions
  • Index(es):
    • Date
    • Thread