2010-05-31 10:31:08 +00:00
|
|
|
begin
|
|
|
|
require 'i18n'
|
2010-09-14 17:40:05 +00:00
|
|
|
require 'active_support/lazy_load_hooks'
|
2010-05-31 10:31:08 +00:00
|
|
|
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
|
2010-06-20 12:44:38 +00:00
|
|
|
|
2010-03-07 14:24:30 +00:00
|
|
|
I18n.load_path << "#{File.dirname(__FILE__)}/locale/en.yml"
|
2010-05-31 10:31:08 +00:00
|
|
|
ActiveSupport.run_load_hooks(:i18n)
|