Does any body know how to set up an entirely new locale for the system.
localedef will help you setting up a new locale in C library.
man localedef localedef --help
If you want to create new locale in X then write locale definations in file /usr/X11R6/lib/X11/locale/<locale name>/XLC_LOCALE
e.g., /usr/X11R6/lib/X11/locale/hi_IN.UTF-8/XLC_LOCALE
The easiest way to set up a new locale is to copy an existing one and then add/modify content to suit your need.
What does glibc do ?
glibc is a set of header files (e.g., stdio.h) and library files that are needed to write and compile applications on your system. It also contains compiled C locale definations.
- Keyur