Background Back when I got my GL-AR150 mini router, I was blown away by the powerful capabilities of this $25 OpenWRT router,...
GeoIP Browser Language Redirect for WPMLStanislav Khromov
I needed to send users reliably to the correct WPML translation depending on the country they came from. The “Browser language redirect” option that WPML provides is a very simple method using the HTTP_ACCEPT_LANGUAGE header. It doesn’t work reliably, and assumes you have named your languages after proper locale names.
GeoIP Redirector for WPML to the rescue!
It uses a GeoIP database (MaxMind) to pinpoint user location more exactly. It also lets you specify your own mappings (user country to language) easily.
Feel free to fork the plugin on GitHub, or download it directly. (Please read README.md for instructions on setting the plugin up.)