Class: I18n::Env::Config

Inherits:
Config
  • Object
show all
Defined in:
lib/i18n/env/config.rb

Constant Summary collapse

VERSION =
"0.0.1"
VARS =

Order is important

%w[LANGUAGE LC_ALL LC_MESSAGES LANG]

Instance Method Summary collapse

Instance Method Details

#localeObject



11
12
13
# File 'lib/i18n/env/config.rb', line 11

def locale
  @locale ||= find_user_locale || super
end