aboutsummaryrefslogblamecommitdiffstats
path: root/activesupport/lib/active_support/i18n.rb
blob: 4d33f597d9322fadb472e9191308e47e54350605 (plain) (tree)
1
2
3
4
5
6
7
8
9

                
                                          



                                                                                                                        
 
                                                           
                                   
begin
  require 'i18n'
  require 'active_support/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)