By Yogesh Unavane on
Hello,
We are basically developing a Drupal 7 site with multiple language support.
The task is that, user should be redirected to regional translated pages from the regional IP fetched.
For instance, www.fr.domainname.com/page1/ OR www.domainname.com/fr/page1/
I have followed the guide's,
Internalization:
But didn't succeed. Also didnt found any guide for the same.
Please guide us in this situation.
Thanks . . .
Comments
Possible using http://ipinfodb.com/ APIS.
I have added a module for the same... just adding the code. With little modifications it can be configured for any no of languages and options.
1. I am using APIs from http://ipinfodb.com/.
2. ip2locationlite.class.php -> file can be downloaded from this link "http://ipinfodb.com/ip_location_api.php". The file consists of a very simple class, just used for calling webservice provided by http://ipinfodb.com/ and can be avoided by using your own class with file_get_contents.
3. I used for only chinese.
Thanks,
Sunny J.
Thanks Sunny, Would
Thanks Sunny,
Would definitely check it out.
:)