aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/i18n.rb
blob: 4dd9e826e4fab3384e81e096a2142589c2f2ecaa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
begin
  require 'i18n'
  require 'lazy_load_hooks'
rescue LoadError => e
  $stderr.puts "You don't have i18n installed in your application. Please add it to your Gemfile and run bundle install"
  raise e
end

I18n.load_path << "#{File.dirname(__FILE__)}/locale/en.yml"
ActiveSupport.run_load_hooks(:i18n)