Monday, December 22, 2008

Change Netbeans UI Language

Before Netbeans 6.0, change ${Netbeans_HOME}/etc/netbeans.conf, add:
--locale language=en
in netbeans_default_options, and restart is OK.

For Netbeans 6.0+, this will lead to error message:
"An attempt was made to look up a localized manifest attribute named: openide-module-deprecation-message_nb_language=en

This name is in an invalid format. If you are running the Macintosh MRJ on MacOS X, make sure that your locale settings are valid. Currently: language=en
"

The new way now is to add:
-J-Duser.language=en -J-Duser.region=US
in netbeans_default_options

Ref: http://blogs.sun.com/tao/...

1 comment: