彻底改变 Netbeans 6.8 中的 IDE 语言

发布于 2024-08-15 09:49:15 字数 219 浏览 4 评论 0原文

我从 NetBeans IDE (6.8) 安装了最新版本。我尝试用英语安装它,但它迫使我用葡萄牙语(操作系统语言)安装它。我用谷歌搜索了一下,发现在启动程序时应该添加 --locale en:US

它几乎完美地工作:有些东西仍然是葡萄牙语。例如,“任务”选项卡的描述和“服务”选项卡的名称。

是否可以在不更改操作系统语言的情况下更改它?

谢谢。

I installed the lastest version from NetBeans IDE (6.8). I tried to install it in English, but it forces me to install it in Portuguese (OS Language). I've googled about it and I found that I should add --locale en:US when launching the program.

It almost works perfectly: some things are still in portuguese. For example, the descriptions from the Tasks tab and the Services tab's name.

Is it possible to change it, without having to change my OS' language?

Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

灯下孤影 2024-08-22 09:49:15

Netbeans 自动使用 Windows 系统默认语言作为默认用户界面语言。我相信这意味着成为本地化的一个很好的功能。但我个人觉得不太舒服,因为我一直用的是英文界面。

在进行一些 Google 搜索后,我了解了一些设置 Netbeans UI 语言的技巧。

1.临时解决方案

在Netbeans启动命令末尾添加“--locale en:US”

"C:\Program Files\NetBeans6.8\bin\netbeans.exe"  --locale en:US 

2. 永久解决方案
进入Netbeans安装目录,例如

C:\Program Files\NetBeans6.8\etc

打开"netbeans.conf",找到netbeans默认选项行

netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true"

添加"-J-Duser.language=en -J-Duser.region=US" 到本行末尾

netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true -J-Duser.language=en -J-Duser.region=US"

如果有一个选项允许我在下一个 Netbeans 版本中选择用户界面语言,那就太好了。

Netbeans automatically uses the Windows system default language as the default user interface language. I believe that it means to be a nice feature for localization. But I personally find it uncomfortable because I have been used with English interface.

After I did some Google search, I learned a few tips to set the Netbeans UI language.

1. Temporary Solution

Add "--locale en:US" at the end of Netbeans startup command.

"C:\Program Files\NetBeans6.8\bin\netbeans.exe"  --locale en:US 

2. Permanent Solution
Go to Netbeans installation directory, for example,

C:\Program Files\NetBeans6.8\etc

Open "netbeans.conf" and find netbeans default option line

netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true"

Add "-J-Duser.language=en -J-Duser.region=US" to the end of this line

netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true -J-Duser.language=en -J-Duser.region=US"

It would be nice that there is an option to allow me choose the user interface language in the next Netbeans release.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文