Rails Admin Translate

Installation

Add your translation gem to gemfile

gem 'json_translate'
# OR
gem 'globalize'

Then add this gem and run bundle

gem 'rails_admin_translate'

Usage

Don't forget to set I18n.available_locale config, because it uses that to determine what tabs to show

Add configuration to your model. :locale field is always required.

  config.model 'Post' do
    field :name do
      tabbed false
    end
    field :description do
      tabbed false
    end
  end

Screenshot

Screenshot

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request