A few days ago at Openmotive we explored using EE’s built-in IP to Nation module to detect a user’s country. That module is designed to output a flag or country code, and allows you to block users from certain countries. While useful, it wasn’t quite powerful enough for our needs (multiple currencies and languages). We also realized that by simply expanding on the current IP to Nation database table, we could build something much more useful.
The result is a nifty little plugin we originally launched as the “OM Country Detector”, but quickly came to our senses and renamed simply the “Country Plugin”. Check out the official blog post at Openmotive.com for more info and downloads.