Websphere Application Server 6.1(本地化):覆盖控制台消息的区域设置
我已经安装了西班牙语版本的 RAD 7.5(基于 Eclipse Ganymede 3.4.0)。我正在使用Websphere Application Server 6.1(也是西班牙语)。
我遇到的问题是所有控制台消息都以西班牙语显示,但在我个人看来,翻译相当差(特别是因为即使控制台错误也以西班牙语显示,并且很难找到有关确切错误消息的文档)。
我想以原始语言(英语)启动 IDE,并且我知道有一个命令行开关 -nl en
,它位于程序快捷方式上的 eclipse 可执行路径旁边,用于此目的。但是我仍然将一些资源的标签(例如“Tasks”选项卡)转换为西班牙语(选项卡显示“Tareas”),还有服务器控制台仍然以西班牙语显示消息。
[更新:昨天,我工作的客户将我的电脑换成了更强大的电脑,并且未翻译的选项卡问题不再出现(新电脑有 Windows 7,之前的电脑是 XP,也许就是这样)]
我的问题是:有谁知道如何让 WAS 控制台消息以 100% 英文显示,覆盖设置时指定的区域设置?是否有一些命令行开关可以实现此目的?有没有办法编辑WAS配置文件来实现这一点?
注意:由于我的计算机上的一些限制,不可能重新安装RAD和WAS。
提前致谢。
I have installed RAD 7.5 (based on Eclipse Ganymede 3.4.0) in Spanish. I'm working with Websphere Application Server 6.1 (spanish too).
The problem I have is that all console messages appear in Spanish, but translation is, in my personal opinion, quite poor (especially since even the console errors are displayed in Spanish and it's difficult to find documentation about exact error messages).
I want to start the IDE in the original language (English) and I know that there is a command line switch -nl en
that, placed beside eclipse executable path on program shortcut, serves for this purpose. But I'm still getting some resources' labels (e.g. "Tasks" tab) into spanish (tab says "Tareas"), also server console still displays messages in spanish.
[UPDATE: Yesterday the client for whom I work, changed my PC for a more powerful one, and the untranslated tabs problem does not occur anymore (the new PC has Windows 7 and the previous one was XP, maybe it's that)]
My question is: Does anyone know how I could get WAS console messages displayed 100% in English, overriding locale specified at setup time? Is there some command line switch that serves to get this? Is there any way to edit WAS config files to achieve this?
Note: It is impossible to reinstall RAD and WAS, because of some restrictions on my computer.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Web 控制台:
要更改 Web 控制台消息,您必须将英语设置为 Web 浏览器的首选语言。
日志消息:
WebSphere 日志记录/跟踪机制基于 Java 的标准库 ResourceBundle/Locale 类构建。
本地化消息存储在 WebSphere jar 中
(示例:com.ibm.ws.naming.util.WsnMessages_es.class)。
因此,要更改控制台语言,您必须更改 JVM 默认区域设置的语言。
在 WebSphere 控制台中:
[应用服务器]\服务器基础设施\
Java 和进程管理\
流程定义\
Java 虚拟机 \
通用 JVM 参数
添加参数:
-Duser.language=US
此方法会更改 JVM 的配置,以便对您的应用程序产生影响。
Web Console:
To change web console messages you have to set english as web browser's preferred language.
Log messages:
WebSphere logging/tracing mechanism are build upon Java's standard library ResourceBundle/Locale classes.
Localized messages are stored inside WebSphere jars
(example: com.ibm.ws.naming.util.WsnMessages_es.class).
So to change the console language you have to change JVM default locale's language.
In WebSphere Console:
[Application Server] \ Server Infrastructure \
Java and Process Management\
Process definition \
Java Virtual Machine \
Generic JVM arguments
Add parameter :
-Duser.language=US
This method changes JVM's configuration so it can have impact on you application.