LocalesAdmin
Locales Admin gem will provide front end editor for you or website administrator to manage locales files.
Installation
Add this line to your application's Gemfile:
gem 'locales_admin'
And then execute:
$ bundle
Or install it yourself as:
$ gem install locales_admin
Usage
Add locales_admin routes on config/routes.rb
mount LocalesAdmin::Engine => "/locales_admin"
Create locales_admin.rb
in config/initializers
folder
LocalesAdmin.setup do |config|
config.username = "yourusername"
config.password = "yourpassword"
end
If you didn't do that, then it will use default configuration like below
LocalesAdmin.setup do |config|
config.username = "iamadmin"
config.password = "keepitsecret123"
end
Development
Contributing
- Fork it ( https://github.com/41studio/locales_admin/fork )
- Create your feature branch (
git checkout -b new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin new-feature
) - Create a new Pull Request
This project rocks and uses MIT-LICENSE.