>
>Thanks a lot. I decided to use it like this:
>NSBundle *appBundle = [ NSBundle bundleWithIdentifier:  
>@"com.apple.AppKit" ];
>NSString *localSetFont = [ appBundle localizedStringForKey: @"Set  
>Font" value: nil table: @"Undo"];
>Seems to work fine.
>

That's really not a good thing to do unless Apple has documented those keys, 
and I don't recall reading anywhere that they have; if they haven't, you should 
submit a bug for them if you want them to remain where they are for the next 
release, and you probably should just say, "Give us some keys for common UI 
text and where they were, are, and will be, so we can rely on those like you 
have for icons."

A better solution without official documentation is to see if the strings you 
want are provided with AppleGlot's installation.  I remember a large number of 
strings like these were made available in its dictionaries.  Also, there used 
to be a place on Microsoft's site that had a similar set of dictionaries for 
your use, but I've lost track of the link.  And, depending on your favorite 
open source project's license, you might be able to use those.
_______________________________________________

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