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 protected]
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to