NSLocalizedStringFromTableInBundle Questions
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