How to get the locale information

From: Jakir (jakir_at_coolgoose.com)
Date: 03/31/05


Date: 31 Mar 2005 05:19:04 -0800

Hello,

I want to know the locale of the Linux system through programing.

I have an IP address of the system, do we have any socket library
method
which can do that or any other method which can give me the
information about the locale.

Thanks & Regards
Jakir