RubyGems Navigation menu

locale_detector 0.2.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:

60517d9c3a3ca3c861db56dff5567d1dd227ae3ccc6c9af152bfc7c5b7f97e03

Total downloads 21,056

For this version 3,237

Licenses:

N/A

Required Ruby Version: None

Links: