001 directory tree within
the XWorkplace source tree, renaming it to your country code. For example,
if your language is Italian, you should have a 039 tree next
to the 001 tree.
001 directory carry a three-digit language code in
their respective names. For your language, you need to change all the filenames
with "001" in their names to your country code (e.g. 039 for Italian).
For example, rename dll\xfldr001.dlg to dll\xfldr039.dlg.
dll\*.def file and
dll\makefile,
which assume a country code of 001 at this point. Required changes are noted in
the files themselves.
dll\xfldrXXX.rc (with "xxx" being your country code) and
find the strings "ID_XSSI_DLLLANGUAGE" and "ID_XSSI_NLS_AUTHOR". Change those
two to match your language and name; this is the information that is displayed
to the user in the "Language" drop-down box in the "XWorkplace Setup" settings
object.
If you have IBM VAC++, you can simply use MAKE.CMD to have the DLL
recreated. Open MAKE.CMD and check somewhere in the middle where
the script checks for the presence of the 049 directory, and change
the variables to point to your new directory instead.
Running MAKE.CMD should then work fine, since all the neccessary
files are included.
Otherwise, things get a bit more complicated. Since the
resource compiler (RC.EXE) is already included
with every OS/2 installation, you can try the following:
xfldr001.dll)
into your new NLS directory;
rename it so that it contains your language code (e.g. xfldr039.dll).
rc xfldr039.rc xfldr039.dll (replace "039" with your language code),
which should create a new .RES file and link it against the existing DLL.