1 require 'rails_edge_load_path_patch.rb' unless I18n.respond_to?(:load_path)
3 ActiveRecord::Base.send :include, Globalize::Model::ActiveRecord::Translated
5 I18n.backend = Globalize::Backend::Static.new
7 I18n.load_path = Globalize::LoadPath.new I18n.load_path
8 I18n.load_path << "#{File.dirname(__FILE__)}/lib/locale"
9 I18n.load_path << "#{RAILS_ROOT}/lib/locale"