Showing posts with label NetBeans. Show all posts
Showing posts with label NetBeans. Show all posts

Saturday, November 15, 2008

Change NetBeans IDE interface language

Several days ago, I downloaded and installed NetBeans 6.5 English version. It is quite a nice IDE. But don't know why the interface is Chinese and I prefer it is in English. Since it is a multilingual version, there should be a way to change it.

Unfortunately, I have checked the program options carefully, again and again, but didn't find how to change the user interface language. OK, have to go a bit search and reading.

In NetBeans FAQ, What are the NetBeans startup parameters (a.k.a command-line options), it tells

--locale language[:country[:variant]] : Use the specified locale.
and, no more. I am not sure about the language [:country[:variant]], so searched again. Finally I came across a blog to find out the approaches.

Open the properties window of NetBeans shortcut, add the following read part at the end of the target, for example:
  • "D:\Program Files\NetBeans 6.5 RC2\bin\netbeans.exe" --locale en:US.

This is for English. Replace the red part by --locale zh:CN for Chinese and --locale ja:JP for Japanese.

Moreover, I found some information on language [:country[:variant]], please go to http://java.sun.com/j2se/1.4.2/docs/api/java/util/Locale.html and http://java.sun.com/developer/technicalArticles/J2SE/locale/.


Chinese version: 修改NetBeans 6.5的界面语言