Functions | |
void | language_init (void) |
void | language_human (void) |
void | language_C (void) |
void | language_check_translations (void) |
void language_C | ( | void | ) |
The language_human function must be called to change the general mode over to the default locale (usually dictated by the LANG environment variable, et al).
The language_human and language_C functions MUST bracket human interactions, otherwise the mostly-english C locale will be used. The default locale through-out the program is otherwise assumed to be C.
void language_check_translations | ( | void | ) |
The language_check_translations function is used to provide a warning message if the short form of the error messages is being used. The warning will only appear once. This function should be called outside any language_human/language_C bracketing.
void language_human | ( | void | ) |
The language_human function must be called to change the general mode over to the default locale (usually dictated by the LANG environment variable, et al).
The language_human and language_C functions MUST bracket human interactions, otherwise the mostly-english C locale will be used. The default locale through-out the program is otherwise assumed to be C.
void language_init | ( | void | ) |
The language_init function must be called at the start of the program, to set the various locale features.
This function must be called after the setuid initialization. If you forget to call me, all bets are off.