You want to change the message text for the message U118 and otherwise use the unchanged messages with standard English texts.
To do this, first create an input file (in the example input3
) with the following KDCMMOD control statements:
|
Then carry out the steps described below.
Unix and Linux systems
Call up the KDCMMOD tool:
utmpath
/ex/kdcmmod < input3
This generates the NLS source file
XPROG_GB.mod
.Enter the following
gencat
command:gencat nls/msg/En/utmxprog.cat XPROG_GB.mod
This generates the NLS message catalog
nls/msg/En/utmxprog.cat
.Store this NLS catalog in the file directory
filebase/nls/msg/
lang.The changed message catalog is ready for use.
Windows systems
Set the Visual Studio environment:
CALL "
Visual_Studio_path\VC\bin\vcvars32.bat"
Create the directory
%FILEBASE%\nls\msg\En
.Copy the file
XPROG_GB.MAK
from%UTMPATH%\nls
to%FILEBASE%\nls
Switch to
%FILEBASE%\nls
and call up the KDCMMOD tool:utmpath
\ex\kdcmmod.exe < input3
This generates the file
XPROG_GB.mod
.Call up the KDCWMSG tool:
utmpath
\ex\kdcwmsg.exe XPROG_GB < XPROG_GB.mod > XPROG_GB.mc
This generates the file
XPROG_GB.mc
.Call up the following Visual Studio tools:
mc -r . XPROG_GB.mc
This generates the files
XPROG_GB.rc
,XPROG_GB.h
andXPROG_GB.bin
.nmake /f XPROG_GB.MAK
This generates the file
XPROG_GB.dll
.
Copy
XPROG_GB.dll
to%FILEBASE%\nls\msg\En\utmxprog.dll
.The changed message catalog is ready for use.