Sha256: a75afe47c879af72a32582e498e95960b17066e346acab7ab00fed7ed8337961

Contents?: true

Size: 306 Bytes

Versions: 8

Compression:

Stored size: 306 Bytes

Contents

require 'i18n'

class I18n::Backend::Simple
  def translations_store
    translations
  end
end

I18n.enforce_available_locales = false

I18n.backend.translations_store[:en] = {
  activerecord: {
    attributes: {
      ar_user: {
        first_name: 'First',
        last_name: 'Last'
      }
    }
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
active_model_exporters-0.5.1 test/fixtures/locale.rb
active_model_exporters-0.5.0 test/fixtures/locale.rb
active_model_exporters-0.4.1 test/fixtures/locale.rb
active_model_exporters-0.4.0 test/fixtures/locale.rb
active_model_exporters-0.3.2 test/fixtures/locale.rb
active_model_exporters-0.3.1 test/fixtures/locale.rb
active_model_exporters-0.3.0 test/fixtures/locale.rb
active_model_exporters-0.2.0 test/fixtures/locale.rb