Sha256: e4aae1d8b58b8ce312cc3edbd3bc19c9beeb2bc873803a2b7774a9966f902ab1

Contents?: true

Size: 245 Bytes

Versions: 40

Compression:

Stored size: 245 Bytes

Contents

require 'i18n'
require 'i18n/backend/fallbacks'

module I18n
  def self.load_translations_path(path)
    I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks)
    I18n.load_path += Dir[path]

    I18n.backend.load_translations
  end
end

Version data entries

40 entries across 40 versions & 2 rubygems

Version Path
mumukit-content-type-1.12.1 vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.2/lib/mumukit/core/i18n.rb
mumukit-core-1.19.2 lib/mumukit/core/i18n.rb
mumukit-core-1.20.0 lib/mumukit/core/i18n.rb
mumukit-content-type-1.12.0 vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/i18n.rb
mumukit-core-1.19.1 lib/mumukit/core/i18n.rb
mumukit-core-1.19.0 lib/mumukit/core/i18n.rb
mumukit-content-type-1.11.1 vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/i18n.rb
mumukit-core-1.18.0 lib/mumukit/core/i18n.rb
mumukit-core-1.17.0 lib/mumukit/core/i18n.rb
mumukit-core-1.16.0 lib/mumukit/core/i18n.rb
mumukit-core-1.15.0 lib/mumukit/core/i18n.rb
mumukit-core-1.14.0 lib/mumukit/core/i18n.rb
mumukit-core-1.13.0 lib/mumukit/core/i18n.rb
mumukit-core-1.12.0 lib/mumukit/core/i18n.rb
mumukit-core-1.11.0 lib/mumukit/core/i18n.rb
mumukit-core-1.10.1 lib/mumukit/core/i18n.rb
mumukit-core-1.10.0 lib/mumukit/core/i18n.rb
mumukit-core-1.9.0 lib/mumukit/core/i18n.rb
mumukit-core-1.8.0 lib/mumukit/core/i18n.rb
mumukit-core-1.7.0 lib/mumukit/core/i18n.rb