TODO: Write a gem description
Add this line to your application's Gemfile:
gem 'simple_translation_engine', github: 'camsys/simple_translation_engine'
And then execute:
$ bundle
- rake translation_engine:install (this will install the necessary database tables)
- create a locale loader rake task based on the sample file in https://github.com/camsys/translation_engine/tree/master/lib/tasks
- To enable editing in your app, mount the translation_engine routes in your routes.rb file: mount TranslationEngine::Engine => "/translation_engine"
- rake translation_engine:implement_new_database_schema will update your database if you already have a basic translations table
- rake translation_engine:migrate_existing_translation_data will migrate your data into the new schema
- Fork it ( https://github.com/[my-github-username]/translation_engine/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request