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

Versions:

  1. 0.3.1 - August 16, 2011 (7.5 KB)
  2. 0.3.0 - August 16, 2011 (7.5 KB)
  3. 0.2.0 - August 10, 2011 (7 KB)
  4. 0.1.0 - August 8, 2011 (6.5 KB)
  5. 0.0.1 - August 10, 2011 (6.5 KB)

Runtime Dependencies:

Authors:

  • Paweł Gościcki

Owners:

Ebc95603a264f87d8cd670d8976ef4f23d64db8eaf5fce87590161882077adc7

Total downloads 7,650

For this version 3,358

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'locale_detector', '~> 0.3.1' = Copy to clipboard Copied!

install:
gem install locale_detector = Copy to clipboard Copied!

Links: