RubyGems Navigation menu

locale_detector 0.3.1

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:

a6a0a0a5f5b30b52fdc5308dba80ae29d9a9df2113509d90a51c3a94d7fabe52

Total downloads 21,033

For this version 8,178

Licenses:

N/A

Required Ruby Version: None

Links: