I18n Dashboard

Build Status Gem Version Code Climate Coverage Status

Rails Engine for I18n management with redis as backend.

Screenshots

# #

Installation

Add this line to your application's Gemfile:

gem 'i18n_dashboard'

And then execute:

$ bundle

Modify your config/routes.rb and add:

mount I18nDashboard::Engine => '/i18n_dashboard'

Add to the bottom of config/environment.rb

I18nDashboard::Engine.load!

Customize

Redis configuration:

I18nDashboard::Engine.redis = Redis.new

Customize layout

I18nDashboard::TranslationsController.layout 'admin'

And add //= require i18n_dashboard/application to your javascript.

But beware, you may have to change somethings in your template like:

# partials
render 'admin_menu'

# change by for example
render 'application/admin_menu'

# or routes
admin_root_path
# add the prefix main_app
main_app.admin_root_path

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