Sha256: 41780e18fc7dab879a033b504dc2ca28589913560fd84933bf53aba459c37f85

Contents?: true

Size: 406 Bytes

Versions: 8

Compression:

Stored size: 406 Bytes

Contents

begin
  require 'rails'
  module I18n
    class Railtie < ::Rails::Railtie #:nodoc:
      initializer 'rails-i18n' do |app|
        I18n.load_path << Dir[File.join(File.expand_path(File.dirname(__FILE__) + '/../../config/locales'), '*.yml')]
        I18n.load_path.flatten!
      end
    end
  end
rescue LoadError # rubocop:disable HandleExceptions
  # We don't autoload locales in non-rails-projects
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
roqua-core-api-0.1.0 lib/i18n/i18n.rb
roqua-core-api-0.0.39 lib/i18n/i18n.rb
roqua-core-api-0.0.38 lib/i18n/i18n.rb
roqua-core-api-0.0.37 lib/i18n/i18n.rb
roqua-core-api-0.0.36 lib/i18n/i18n.rb
roqua-core-api-0.0.35 lib/i18n/i18n.rb
roqua-core-api-0.0.32 lib/i18n/i18n.rb
roqua-core-api-0.0.31 lib/i18n/i18n.rb