The purpose of the rexx.cat file is (in theory), that by having separation
between the executables and the error texts, we can easily translate the
error messages. In reality, there has never been any attempt at having
multiple versions of the messages, and I suspect we have really been
misusing the catopen() mechanisms in a way that would really prevent
multiple languages from happening. The move toward the USB execution only
complicates this since we desire to pick up a specific rexx.cat file rather
than using the DLPATH capabilities.

In addition, the Windows version makes no attempt at implementing NLS
support. The error messages are bound into the rexx dll as string
resources. To do any sort of translation, you need to rebuild the
interpreter with a different .rc file. There is no switching.

As I'm working on code to locate the specific .cat file, it occurred to be
that it would be a trivial matter to implement something like Windows uses
and have an internal message table rather than have this external artifact
that needs to be located.

Rick
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to