You just need a host name, initiator's or IP address. InetAddressLocator will return the Locale of it.
There is also a client/server implementation which use JNI. Clients lookup for locator services, send the IP and get back the Locale.
This project can probably be used in all projects which collects many IP addresses or URL's (web server, ...) or in ad-hoc location services (get IP of access point) which provide location based information.