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?



It isn't so much standard look and feel as it is convenience for the developer -- if you make a simple AWT app you don't need to worry about making an application menu for yourself.

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.

Scott

On Feb 26, 2004, at 6:38 PM, Joel Reynolds wrote:

ok..i think i get the picture now...you want this controlled by Apple
for a standard look & feel?
that makes sense...is there still a mechanism, e.g. keys for a resource
file that could be used to override the builtin defaults? e.g.
especially if the localization from Apple isn't ready yet..

Joel


On Feb 25, 2004, at 7:10 PM, Scott Kovatch wrote:


On Feb 25, 2004, at 5:50 PM, Joel Reynolds wrote:

Anyone know where X stores the default system properties files for
localizing the application menu that is shared by all os x programs?
I can't find this in any of the Apple docs so far..

It's not documented because it's internal to the AWT. For final
releases we localize the application menu for most of the supported
languages on Mac OS X. What are you trying to do?

Scott

------------------
Scott Kovatch
Apple Computer
Java Runtime Classes
Cleveland Hts, OH
email@hidden

"Everybody needs money! That's why they call it money!"
_______________________________________________
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.
_______________________________________________
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.


References: 
 >Localizing the App menu? (From: Joel Reynolds <email@hidden>)
 >Re: Localizing the App menu? (From: Scott Kovatch <email@hidden>)
 >Re: Localizing the App menu? (From: Joel Reynolds <email@hidden>)



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.