Sha256: 85f65db15d7bc502d71924e19e2306bcc210947e5195e502187b19bb02b047ad

Contents?: true

Size: 407 Bytes

Versions: 11

Compression:

Stored size: 407 Bytes

Contents

begin
  require 'rails'
  module I18n
    class CoreApiRailtie < ::Rails::Railtie #:nodoc:
      initializer 'rails-i18n' do
        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

11 entries across 11 versions & 1 rubygems

Version Path
roqua-core-api-0.6.0 lib/i18n/core_api_i18n.rb
roqua-core-api-0.5.0 lib/i18n/core_api_i18n.rb
roqua-core-api-0.4.0 lib/i18n/core_api_i18n.rb
roqua-core-api-0.3.1 lib/i18n/core_api_i18n.rb
roqua-core-api-0.3.0 lib/i18n/core_api_i18n.rb
roqua-core-api-0.2.4 lib/i18n/core_api_i18n.rb
roqua-core-api-0.2.3 lib/i18n/core_api_i18n.rb
roqua-core-api-0.2.2 lib/i18n/core_api_i18n.rb
roqua-core-api-0.2.1 lib/i18n/core_api_i18n.rb
roqua-core-api-0.2.0 lib/i18n/core_api_i18n.rb
roqua-core-api-0.1.1 lib/i18n/core_api_i18n.rb