Java localization on Mac

G

GD1

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 :)
 
G

GD1

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?
 
J

John O'Conner

Oliver said:


Thanks for pointing out this article. However, it is quite dated. In
addition to that longer article, I sometimes blog on the subject of
i18n. Here are a couple entries on the subject that might help get
someone started:
http://weblogs.java.net/blog/joconner/archive/2004/04/i18n_howto_reso.html
http://weblogs.java.net/blog/joconner/archive/2004/04/i18n_howto_just.html
http://weblogs.java.net/blog/joconner/archive/2004/04/unicode_40_supp.html
 
G

GD1

I still can't solve my problem.

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

Steve W. Jackson

"GD1 said:
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.
 
G

GD1

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.
 
S

Steve W. Jackson

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.[/QUOTE]

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.
 
G

GD1

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. :)
 
S

Steve W. Jackson

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[/QUOTE]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,264
Messages
2,571,065
Members
48,770
Latest member
ElysaD

Latest Threads

Top