OS2.INI
("XFolder"::"LanguageCode"). This entry defaults to a "001" string and can
be changed either at installation time (if the install script does it) or
by using the "Language" setting in the "XWorkplace Setup" object.
All NLS resources are loaded depending on this one setting. That is,
if you change the language, XWorkplace expects not only your NLS DLL to be present
in /BIN
, but also the TMF, HLP, and WPS class description
files in /HELP
. So if you have not translated these yet, you might
want to create a copy of the English ones with your language code in the filename.
To test a new version of your NLS files:
Select "US English" instead, which will unlock the previously used DLL, which can then be deleted from the XWorkplace directory.
Then put your new DLL into the BIN
subdirectory and open
the settings again; select your DLL and see if things work.
With INF files, that's easy: simply close it if it's open.
With HLP files, you have to keep in mind that the WPS keeps these files locked even after you've closed a help panel window. However, the WPS only ever keeps a single HLP file locked at a time, so in order to unlock the XWorkplace HLP file, simply open a default WPS help panel, e.g. by selecting "Extended Help" for the Desktop window.
You can then copy the new XWorkplace .HLP file to the XWorkplace HELP
directory. (MAKE.CMD
will do this automatically.)