Initializing help system before first use

XNLSsetlang

Purpose
Set or get the active language for message translation.
Synopsis
const char *XNLSsetlang(const char *lang);
Argument
lang 
An ISO 639 language code ( e.g. en, de, ja, zh...), or NULL or an empty string ""
Return value
The new language code.
Further information
1. The language code is used to select the locale directory in which catalog files are searched from. During the library initialisation the language is set according to the current system settings.
2. If NULL is used as the language code the function returns the current language. If an empty string is given then the language is set to the system default setting (as after library initialisation).
3. Special language names "C", "POSIX" as well as "en" disable translation (since initial messages are written in English).
4. All loaded message catalogs are unloaded when a call to this routine modifies the current language.
Related topics

© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.