Forcing zman to English

ZENworks Configuration Management is currently in beta – one of the new pieces of the product is the ability to control and configure the client and the server environment wholly from the command line.

By default the command line tool – zman – picks up the server locale. In some cases it is useful to be able to force zman to use a specific language.

Here’s how in beta 3. This may change for the released product.

Edit the file:

%ZENWORKS_HOME%/novell/zenworks/bin/zman.bat (ZENWORKS_HOME is the installation point chosen for the server components)

Modify the line:

“%JAVA_PATH%java” -classpath %MYCP% -Dfile.encoding=%OUTPUT_CODEPAGE% -XX:+UseConcMarkSweepGC -XX:+UseParNewGC com.novell.zenworks.zman.ZManLoader %*

to be

“%JAVA_PATH%java” -classpath %MYCP% -Dfile.encoding=cp850 -Duser.language=en_us -XX:+UseConcMarkSweepGC -XX:+UseParNewGC com.novell.zenworks.zman.ZManLoader %*

Note – all on a single line; differences highlighted.

Leave a Reply

Your email address will not be published. Required fields are marked *