Websphere Application Server 6.1 (localized): override the locale for console messages

I installed RAD 7.5 (based on Eclipse Ganymede 3.4.0) in Spanish. I am working with WebSphere Application Server 6.1 (also Spanish).

The problem is that all console messages are displayed in Spanish, but in my opinion the translation is pretty bad (especially since even console errors are displayed in Spanish, and it’s hard to find documentation about the exact error message).

I want to run the IDE in the original language (in English), and I know that the command line -nl en used for this purpose, which is next to the eclipse executable on the program shortcut. But I still get the resource labels (for example, the Tasks tab) in Spanish (the tab says β€œTareas”), also the server console still displays messages in Spanish.

[UPDATE: yesterday, the client for whom I work changed my computer to a more powerful one, and the problem of untranslated tabs no longer arises (the new PC has Windows 7, and the previous one has XP, maybe this is so)]

My question is: does anyone know how I can get WAS console messages displayed 100% in English, overriding the locale specified during installation? Is there a command line switch that serves to get it? Is there a way to edit the WAS configuration files for this?

Note. Unable to reinstall RAD and WAS due to some limitations on my computer.

Thanks in advance.

+4
source share
1 answer

Web console:

To change web console messages, you must set English as your preferred web browser language.

Journal Messages:

WebSphere's journaling / tracing mechanism is based on the standard ResourceBundle / Locale classes of the Java standard library.
Localized messages are stored in WebSphere banks (example: com.ibm.ws.naming.util.WsnMessages_es.class).
Thus, in order to change the console language, you must change the default JVM language.

In the WebSphere console: [Application Server] \ Server Infrastructure \ Java and Process Management \ Process Definition \ Java Virtual Machine \ General JVM Arguments

Add parameter: -Duser.language=US

This method modifies the JVM so that it can affect your application.

+8
source

Source: https://habr.com/ru/post/1348139/


All Articles