Check II_MSGDIR and II_LANGUAGE logical variables.
You need to ensure that II_SYSTEM is properly set wherever it is referenced.
It may be set as a user or system environment variable.
Additionally, it appears in OpenLink's Multi-Tier oplrqb.ini file and Single-Tier openlink.ini file (unix only).