Rails Engine for I18n management with redis as backend
Clone or download
Pull request Compare This branch is 29 commits ahead of afcapel:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
doc
gemfiles
lib
script
test
.gitignore
.travis.yml
Gemfile
MIT-LICENSE
README.md
Rakefile
i18n_dashboard.gemspec

README.md

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 or in rake task.

I18nDashboard::Engine.load!

Customize

Redis configuration:

I18nDashboard::Engine.redis = Redis.new

Advanced

I18nDashboard.configure do |config|
  config.layout = 'admin'
  config.inline_main_app_named_routes = true 
end

If change the layout you should keept in mind:

  • Add //= require i18n_dashboard/application to your javascript.
  • Specify the path to te partials render 'application/admin_menu' instead of render 'admin_menu'.
  • Add prefix main_app to the main app routes or set inline_main_app_named_routes = true.

Thanks

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