generate_message/3 sends the message term through the
English message generator,
messages('english/QU_messages'). The definite
clause grammar (DCG) rules in this file transform Prolog message terms
into English messages. In addition, the message generator is designed
to allow internationalization of the messages printed by the Quintus Prolog
development system. You can translate the output of the rules in the
message generator into any natural language. To do this, you would
translate part of the right hand side of each rule into the target
language, e.g. French, to produce
generates French messages from the same message terms. This section
explains how to go about providing a translation.
QU_messages.pl is installed as:
To have all messages printed in another language, the basic steps are as follows
QU_messages.pland translate all the messages.
QU_messages.pland then install it in the Quintus Prolog directory hierarchy.