Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Localizing the App menu?



--- Scott Kovatch <email@hidden> wrote:
> The best way to work around this is to take the nib in
>
/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Resources/
>
> English.lproj/DefaultApp.nib and localize it yourself into whatever
>
> language you need. Then, in the Java dictionary of the Info.plist
> file of your application bundle set the property
> 'apple.awt.application.nib' to be the path to your localized nib.
Use
> '$JAVAROOT' to make the location relative to the application.
>
> This property should only be used as a stopgap until our
> localization team provides the missing localizations, because it's
not
> that flexible, being a path. If there's a particular language
that's
> missing that your users need, please file a bug.

Nice. Here's how to add the Preferences shortcut for Java 1.4.2. I
just opened up the info window for the preferences menu item and set
the Key Equivalent to "," and it works great. If you want to
distribute it you should be able to include the nib in your bundle
like he describes.

__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.