RubyGems Navigation menu

locale_detector 0.3.0

Parses HTTP_ACCEPT_LANGUAGE http header and sets the I18n.locale based on that, if it's missing it uses toplevel regional domain suffix or falls back to I18n.default_locale

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.3.1 - August 17, 2011 (7.5 KB)
  2. 0.3.0 - August 17, 2011 (7.5 KB)
  3. 0.2.0 - August 11, 2011 (7 KB)
  4. 0.1.0 - August 09, 2011 (6.5 KB)
  5. 0.0.1 - August 11, 2011 (6.5 KB)

Runtime Dependencies (2):

i18n >= 0.5.0
rails >= 3.0.0

Development Dependencies (4):

guard >= 0.5.0
guard-rspec >= 0.4.0
rspec >= 2.6
rspec-rails >= 2.6

Owners:

Authors:

  • Paweł Gościcki

SHA 256 checksum:

fbfe7cddc3404b744c4b90f7ffe838281bd31242c3fc72366c3f45759bb88cf6

Total downloads 21,033

For this version 3,225

Licenses:

N/A

Required Ruby Version: None

Links: