theodi / open-data-certificate

The mark of quality and trust for open data
https://certificates.theodi.org/
MIT License
46 stars 39 forks source link

Determine Country/Jurisdiction based on Geo IP lookup #1177

Open pkqk opened 9 years ago

pkqk commented 9 years ago

Suggest or determine which jurisdiction the questionnaire should be filled in for based on the browsers origin.

MaxMind GeoIP database is free and semi decent. http://dev.maxmind.com/geoip/geoip2/geolite2/

Stephen-Gates commented 9 years ago

Very supportive of this idea - yes please

Stephen-Gates commented 8 years ago

As an alternative provide a switch in the URL to set the jurisdiction e.g. https://certificates.theodi.org/au or something similar.

pkqk commented 8 years ago

Using the Accept-Language header looks like it's also valid now* too http://code.flickr.net/2009/12/04/language-detection-a-witchs-brew/