Initializing help system before first use

XNLSsetlocaledir

XNLSsetlocaledir


Purpose
Define the default or domain specific locale directory.
Synopsis
const char *XNLSsetlocaledir(XNLSdomain domain, const char *localedir);
Arguments
domain 
Domain ( NULL to change the global default setting)
localedir 
Locale directory (can be NULL)
Return value
The new locale directory.
Further information
1. Modifying the locale directory of a domain has no effect on already loaded message catalogs ( i.e. they are not reloaded from the new location).
2. Changing the default locale directory does not affect the domains that are already open.
Related topics