Java localization on Mac  
Author Message
GD1





PostPosted: 2006-8-4 19:34:00 Top

java-programmer, Java localization on Mac Dear developers,

I made a Java application. I packed it as an ".app" container using Jar
Bundler, then I launched the ".app" and I saw that the standard menu
(the one with About and Quit commands) is in English and not in my
system's default language. How can I get it localized?

Thank you :)

 
GD1





PostPosted: 2006-8-5 3:58:00 Top

java-programmer >> Java localization on Mac
GD1 ha scritto:

> Dear developers,
>
> I made a Java application. I packed it as an ".app" container using Jar
> Bundler, then I launched the ".app" and I saw that the standard menu
> (the one with About and Quit commands) is in English and not in my
> system's default language. How can I get it localized?
>
> Thank you :)

Hi? Anybody out there?

 
Oliver Wong





PostPosted: 2006-8-5 5:45:00 Top

java-programmer >> Java localization on Mac "GD1" <email***@***.com> wrote in message
news:email***@***.com...
> Dear developers,
>
> I made a Java application. I packed it as an ".app" container using Jar
> Bundler, then I launched the ".app" and I saw that the standard menu
> (the one with About and Quit commands) is in English and not in my
> system's default language. How can I get it localized?
>
> Thank you :)
>

Read http://java.sun.com/developer/technicalArticles/Intl/ResourceBundles/

- Oliver

 
 
GD1





PostPosted: 2006-8-18 17:56:00 Top

java-programmer >> Java localization on Mac I still can't solve my problem.

I think that the main menu is impossible to localize, and it's a big
lack.

 
 
Steve W. Jackson





PostPosted: 2006-8-19 2:23:00 Top

java-programmer >> Java localization on Mac In article <email***@***.com>,
"GD1" <email***@***.com> wrote:

> I still can't solve my problem.
>
> I think that the main menu is impossible to localize, and it's a big
> lack.

Failing to quote relevant portions of previous messages makes it pretty
unclear what you're complaining about...

If you'll bother to do some research, you'll find that the text of the
About item and the Quit item are provided by the operating system, not
your application. So you'll want to look into whether the wording you
want to change is supposed to change, per Apple's HI Guidelines, when
different language settings are in use. If they're supposed to change,
then they should be different when your system's language settings
change. If not, then they won't.
--
Steve W. Jackson
Montgomery, Alabama
 
 
GD1





PostPosted: 2006-8-19 3:27:00 Top

java-programmer >> Java localization on Mac > Failing to quote relevant portions of previous messages makes it pretty
> unclear what you're complaining about...

I'm not complaining with you.... :)
And there's nothing to quote, I'm referring to my first message.


> If you'll bother to do some research, you'll find that the text of the
> About item and the Quit item are provided by the operating system, not
> your application.

Yes, and I'm complaining because there's no way to fix that problem.
They simply forgot to put some stupid configuration switch to localize
that menu... The JVM built into Mac OS X is not international.


> So you'll want to look into whether the wording you
> want to change is supposed to change, per Apple's HI Guidelines, when
> different language settings are in use. If they're supposed to change,
> then they should be different when your system's language settings
> change. If not, then they won't.

They won't.

 
 
Steve W. Jackson





PostPosted: 2006-8-22 1:51:00 Top

java-programmer >> Java localization on Mac In article <email***@***.com>,
"GD1" <email***@***.com> wrote:

> > Failing to quote relevant portions of previous messages makes it pretty
> > unclear what you're complaining about...
>
> I'm not complaining with you.... :)
> And there's nothing to quote, I'm referring to my first message.
>
>
> > If you'll bother to do some research, you'll find that the text of the
> > About item and the Quit item are provided by the operating system, not
> > your application.
>
> Yes, and I'm complaining because there's no way to fix that problem.
> They simply forgot to put some stupid configuration switch to localize
> that menu... The JVM built into Mac OS X is not international.
>
>
> > So you'll want to look into whether the wording you
> > want to change is supposed to change, per Apple's HI Guidelines, when
> > different language settings are in use. If they're supposed to change,
> > then they should be different when your system's language settings
> > change. If not, then they won't.
>
> They won't.

I have no skills with languages other than US English and don't
personally know anyone with, say, a French language Mac. So I don't
know for certain whether the Quit menu item still says "Quit" or some
other term in other languages, and likewise for the About menu item.
But I do know positively that the JVM in Mac OS X does support
localization.

Like I said, the JVM does not provide the "About" or "Quit" menu items.
It only provides means for your application to respond to them. The OS
itself provides them to you.

If you're unwilling to look into the documentation at Apple's web site,
you're unlikely to find out the specifics.
--
Steve W. Jackson
Montgomery, Alabama
 
 
GD1





PostPosted: 2006-8-22 2:14:00 Top

java-programmer >> Java localization on Mac
> If you're unwilling to look into the documentation at Apple's web site,
> you're unlikely to find out the specifics.


I've already looked into that documentation, and I found nothing at
all.

All international Java applications that I've ever used (like Limewire,
for example) do have this problem.

They simply forgot to make this menu localizable. Apparently, this is a
manifestation of the typical linguistic egocentricity of anglophone
people. :)

 
 
GD1





PostPosted: 2006-8-22 18:59:00 Top

java-programmer >> Java localization on Mac
> If you're unwilling to look into the documentation at Apple's web site,
> you're unlikely to find out the specifics.


Look at this, Mr. I-know-everything:

http://lists.apple.com/archives/Java-dev/2006/Jul/msg00013.html

 
 
Steve W. Jackson





PostPosted: 2006-8-23 0:32:00 Top

java-programmer >> Java localization on Mac In article <email***@***.com>,
"GD1" <email***@***.com> wrote:

> > If you're unwilling to look into the documentation at Apple's web site,
> > you're unlikely to find out the specifics.
>
>
> Look at this, Mr. I-know-everything:
>
> http://lists.apple.com/archives/Java-dev/2006/Jul/msg00013.html

You would do well to remove your head from your...you know.

I subscribe to that mailing list and saw those posts when they were
made. They say what I already told you. Java itself does NOT provide
the internationalization of either the application menu or the Quit
item. They are provided by the OS. Localization of them is handled by
the OS.
--
Steve W. Jackson
Montgomery, Alabama