Websphere Application Server 6.1(本地化):覆盖控制台消息的区域设置 [英] Websphere Application Server 6.1 (localized): Override locale for console messages

查看:211
本文介绍了Websphere Application Server 6.1(本地化):覆盖控制台消息的区域设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在西班牙语中安装了RAD 7.5(基于Eclipse Ganymede 3.4.0)。我正在使用 Websphere Application Server 6.1 (也是西班牙语)。

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).

我想以原始语言(英语)启动IDE,我知道有一个命令行开关 -nl en ,放在eclipse可执行路径旁边的程序快捷方式,服务于此目的。但我仍然会将一些资源标签(例如任务标签)改成西班牙语(标签上显示 Tareas )控制台仍然以西班牙语显示邮件。

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.

[更新:昨天我工作的客户端,更改了我的电脑一个更强大的,并且不会发生未翻译的标签问题(新的PC有Windows 7,而前一个是XP,也许是这样)]

[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)]

我的问题是:可以获得WAS控制台消息以英语显示100%,覆盖在设置时指定的语言环境?是否有一些命令行开关,以获得这个?是否有任何方法编辑WAS配置文件以实现这一点?

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?

注意:这是不可能重新安装RAD和WAS,

Note: It is impossible to reinstall RAD and WAS, because of some restrictions on my computer.

推荐答案

strong>网络控制台:

Web Console:

要更改网络控制台消息,您必须将英语设置为网络浏览器的首选语言。

To change web console messages you have to set english as web browser's preferred language.

日志消息:

WebSphere日志记录/跟踪机制基于Java标准库ResourceBundle / Locale类构建。

本地化消息存储在WebSphere jars
(例如:com.ibm.ws.naming.util.WsnMessages_es.class)中。

所以要更改控制台语言,您必须更改<

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.

在WebSphere控制台中:
[Application Server] \服务器基础架构\
Java和进程管理\
进程定义\
Java虚拟机\
通用JVM参数

In WebSphere Console: [Application Server] \ Server Infrastructure \ Java and Process Management\ Process definition \ Java Virtual Machine \ Generic JVM arguments

添加参数: -Duser.language = US

此方法更改JVM的配置,因此可能会对您的应用程序产生影响。

This method changes JVM's configuration so it can have impact on you application.

这篇关于Websphere Application Server 6.1(本地化):覆盖控制台消息的区域设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆