It doesn&#39;t seem to provide the exact functionality that you want, but it might be worth taking a look at the Country code module (<a href="http://drupal.org/project/country_code">http://drupal.org/project/country_code</a>).<br>

<br><div class="gmail_quote">2009/7/17 Shankar Dhanasekaran <span dir="ltr">&lt;<a href="mailto:shankar@musickafe.com">shankar@musickafe.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi everybody,<br>
I have been reading development mail list for a few months now, found it great for people to discuss code but I have not written any thing here until now. I guess the time has come.<br>
<br>
I am wanting a feature addition to ip2local module or some other similar module. Brief explanation of the customization follows:<br>
<br>
1. Admin interface to add or delete region and group regions. Much like hierarchy taxonomy. So that admin can add Region &#39;Asia&#39; and sub regions like India, China etc.<br>
<br>
2. There is an admin interface to set default language for each sub region and region.<br>
<br>
3. Much like multi-lingual interface in each node where user can select the language, there is now an additional interface to select the region the node belongs. A node can belong to more than one region, however.<br>
<br>
4. The module should output a block where the user can select the region of the website he wants to see. See <a href="http://ibm.com" target="_blank">ibm.com</a> &lt;<a href="http://ibm.com" target="_blank">http://ibm.com</a>&gt; &lt;<a href="http://ibm.com" target="_blank">http://ibm.com</a>&gt; for example. There is a region on the header where user can select the country/language.<br>


<br>
5. Logic for content display:<br>
a. detect the user ip and thereby the location and display that particular location&#39;s content alone.<br>
b. If the location is not present in one of the regions set in the website, use a default region.<br>
c. detect the browser language and render that identified region&#39;s content in that language. Say for example, the region is detected as China but the browser language is English, then display chinese region content in English language. Adminstrator will take care of all the translation work needed.<br>


<br>
<br>
I will really appreciate if you guys can give me some pointers on where to start, a possible hint on hooks that I may need etc., I wanting to become a good drupal module developer and a community supporter. I hope you guys will initiate me into this. I am not aware of any existing module that gives similar functionality after some good search in contrib space. If there is any, pls let me know.<br>


<br>
Thanks a lot,<br><font color="#888888">
Shankar<br>
</font></blockquote></div><br>