Chivy

Offers a quick way of analyzing language YAML-files and to add missing translation keys from the CLI.

Gem Version Gem Downloads Yard Docs

Installation

Add this line to your application's Gemfile:

gem 'chivy', require: false

And then execute:

$ bundle

Or install it yourself as:

$ gem install chivy

Usage

$ chivy list config/locales/

Will search in the directory config/locales for all translation yaml-files by the schema "..yml" and will output a list of the minimal changeset between both translations.

Testing

The project classes are tested through rspec.

$ rspec

The command line interface is tested through cucmber/aruba.

$ cucumber

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