To use the translate() function, you must first open the translator
library. Setting a global variable, TranslatorBase, to the value returned
from the call to openlibrary() enables the amiga linker to correctly
locate the translator library:
struct Library *TranslatorBase;
TranslatorBase = OpenLibrary("translator.library",REVISION);
if(TranslatorBase != NULL)
{
/* use translator here -- library open */
}
LIBS: must contain translator.library.
--------------------------------------
Since translator is a disk-based library, the call to
openlibrary() will work only if the libs: directory contains
translator.library.