Locale
Support the user's locale.
Different locales provide different notions of alphabetic order.
Notes
The fact that the translation tables are built may be regarded
as part of locale support.
The construction of translation tables may also be regarded as a
performance enhancement independent of locale support.
- Import locale functions
-
Imported declaration
- Notes
-
To remove the locale support,
we de-activate the locale system injected by the utility include file.
This actual obviates the need to remove the usage code.
Deactivating locale support in the "system.h" header file redefines
the setlocale(), bindtextdomain(), and textdomain() to be empty macros.
- Segment Source
- 34: #include "system.h"
- Establish correct locale
-
Code insertion
- Segment Source
- 1729: setlocale (LC_ALL, "");
1730: bindtextdomain (PACKAGE, LOCALEDIR);
1731: textdomain (PACKAGE);