TOC PREV NEXT INDEX

TMload_dictionary

Synopsis


int TMload_dictionary(char *filename,char *build_path);

Description

TMload_dictionary adds a dictionary file to the system's list of dictionaries. Dictionaries are normally loaded through the dictionary property set on a library but you can call this routine directly when that mechanism is not appropraite.

Arguments

filename
A relative pathname of a file that stores a dictionary. The loaded dictionary file for a particular locale is loaded from the path build_path/runtime/nls/locale/filename.
build_path
Specifies a space-separated list of pathnames of directories containing runtime/nls subdirectories used to search for this dictionary. This argument is usually specified using the return value from the routine OMget_path.

Returned value

This routine returns 1 if the dictionary file is loaded successfully and 0 if the load fails.

Examples

none.

See Also

OMget_path
TMget_translation

TOC PREV NEXT INDEX