RubyGems.org

Simple Rack middleware for setting the locale.country via GeoIP using the MaxMind GeoIP database, and setting the locale.languages based on the HTTP_ACCEPT_LANGUAGE header.

installgem install rack-geo-locale -v 0.0.8
Authors

Joakim Ekberg

8,799 total downloads 872 for this version
Owners

034c64e40dba4f697711bcffe36e79ca

Gemfile
gem 'rack-geo-locale', '~> 0.0.8'
Versions
  1. 0.0.11 May 31, 2012 (1.38 MB)
  2. 0.0.10 April 10, 2012 (1.38 MB)
  3. 0.0.8 April 5, 2012 (732 KB)
  4. 0.0.7 April 4, 2012 (732 KB)
  5. 0.0.6 April 4, 2012 (732 KB)
Show all versions (10 total)
Runtime Dependencies
  1. geoip >= 0
  2. rack >= 0