Java Localization: Application Menu Language Support. MAC OS X 10.4.10.
I am running a Java 1.4+ application on a Mac OS X 10.4.10 Intel.
If I change the locale of the system to English, French or German, and I start my application, I can see the Application Menu translated properly. (I am referring to About/Preferences/Hide/Hide others/Quit).
Any other locale I am using(Italian, Spanish, Portuguese and so on) the application menu is not translated in that language.
Furthermore, by looking in the System Preferences/International/Languages the menu of my application is displayed in the either English, German or French depending of which one is before the other two. To give you two examples:
Sample one:
Italian
Portuguese
German
French
...
my menu will be seen in German.
Sample two:
Italian
Portuguese
English
German
French
...
my menu will be seen in English.
I don't use any <language>.lproj folder in my bundle.
By searching on the internet I found the following article that talks about similar issue:
http://lists.apple.com/archives/Java-dev/2004/Sep/msg00200.html
I was looking also in /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Resources and I could only see English, French and German .lproj folders. I've created a similar Italian.lproj folder. It still didn't show my application menu in Italian language.
I am wondering if anyone of you had such an issue and how did you solve it.
Cheers,
Bogdan
If I change the locale of the system to English, French or German, and I start my application, I can see the Application Menu translated properly. (I am referring to About/Preferences/Hide/Hide others/Quit).
Any other locale I am using(Italian, Spanish, Portuguese and so on) the application menu is not translated in that language.
Furthermore, by looking in the System Preferences/International/Languages the menu of my application is displayed in the either English, German or French depending of which one is before the other two. To give you two examples:
Sample one:
Italian
Portuguese
German
French
...
my menu will be seen in German.
Sample two:
Italian
Portuguese
English
German
French
...
my menu will be seen in English.
I don't use any <language>.lproj folder in my bundle.
By searching on the internet I found the following article that talks about similar issue:
http://lists.apple.com/archives/Java-dev/2004/Sep/msg00200.html
I was looking also in /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Resources and I could only see English, French and German .lproj folders. I've created a similar Italian.lproj folder. It still didn't show my application menu in Italian language.
I am wondering if anyone of you had such an issue and how did you solve it.
Cheers,
Bogdan
Mac Pro MacPro1,1 Dual-Core Intel Xeon, Mac OS X (10.4.8), I am runing also MAC OS X 10.5 Build 9A377a