如何强制 eclipse 使用指定的界面语言?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1770598/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to force eclipse to use a specified interface language?
提问by Tomo
My new work laptop has my native (Polish) locale set. However, I'm simply not able to use eclipse in any language other than English. I'm so used to English names I don't understand the translations.
我的新工作笔记本电脑设置了我的本地(波兰语)语言环境。但是,我根本无法以英语以外的任何语言使用 eclipse。我太习惯英文名字了,我看不懂翻译。
How do I force Eclipse to start with other language than the OS uses?
如何强制 Eclipse 使用操作系统使用的其他语言启动?
采纳答案by Tomo
OK, I got it:
好,我知道了:
eclipse.ini should contain following line:
eclipse.ini 应包含以下行:
-Duser.language=en_US
回答by Urhixidur
If adding "-Duser.language=fr" or "-nl fr" to your command line (or, equivalently, adding "osgi.nl=fr" to configuration/config.ini) has no apparent effect, you are missing the language packs (en_US is the default language pack).
如果将“-Duser.language=fr”或“-nl fr”添加到您的命令行(或等效地将“osgi.nl=fr”添加到配置/config.ini)没有明显效果,则您缺少语言包(en_US 是默认语言包)。
You must then add the "Babel Language Pack Update Site" for the appropriate Eclipse release. Go to http://www.eclipse.org/babel/downloads.phpto look it up. For instance, the Juno Babel language pack update site is http://download.eclipse.org/technology/babel/update-site/R0.10.0/juno. Add this site to your Available Software sites (Help: Install New Software: Available Software Sites). You will then be able to select the pertinent "Babel Language Packs for Eclipse" for installation (e.g. fr in this case). After an automatic restart, you should have the UI in your choice of language.
然后,您必须为相应的 Eclipse 版本添加“Babel 语言包更新站点”。转到http://www.eclipse.org/babel/downloads.php进行查找。例如,Juno Babel 语言包更新站点是http://download.eclipse.org/technology/babel/update-site/R0.10.0/juno。将此站点添加到您的可用软件站点(帮助:安装新软件:可用软件站点)。然后,您将能够选择相关的“用于 Eclipse 的 Babel 语言包”进行安装(例如在本例中为 fr)。自动重启后,您应该拥有您选择的语言的 UI。