*Maybe one of the mods could move this to the programming section to get the attention it needs*
Hi sanjay. AFAIK, POSIX leaves the manner in which a locale is made available as implementation-defined. Most linux systems that I know keep locales in /usr/share/locale AND-OR /usr/local/share/locale. The only C-level functions that I know of that deal with locales (not beyond a POSIX level) are setlocale() and localeconv() (both defined in <locale.h>). There is also a <langinfo.h>. The only thing I see that can be done is calling the locale program from within C or searching through /usr/....
Sorry I'm not of much help, but what exactly are you trying to do? Sometimes there's no need to reinvent the wheel (sometimes there is). You can usually use gettext to do language-related stuff.
|