README.md in i18n-tasks-0.3.2 vs README.md in i18n-tasks-0.3.3

- old
+ new

@@ -1,17 +1,23 @@ # i18n-tasks [![Build Status](https://travis-ci.org/glebm/i18n-tasks.png?branch=master)](https://travis-ci.org/glebm/i18n-tasks) [![Coverage Status](https://coveralls.io/repos/glebm/i18n-tasks/badge.png?branch=master)](https://coveralls.io/r/glebm/i18n-tasks?branch=master) [![Code Climate](https://codeclimate.com/github/glebm/i18n-tasks.png)](https://codeclimate.com/github/glebm/i18n-tasks) [![Flattr this](https://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=glebm&url=https%3A%2F%2Fgithub.com%2Fglebm%2Fi18n-tasks) -Tasks to manage translations in ruby applications using I18n. +The default model of i18n key management in frameworks such as Rails is broken. +If you use a key that does not exist, this will only blow up at runtime. Keys left over from removed code accumulate +in the resource files, introducing unnecessary overhead on the translators. +Translation files can quickly turn to disarray. + +i18n-tasks improves this by using static analysis. + <img width="534" height="288" src="https://raw.github.com/glebm/i18n-tasks/master/doc/img/i18n-tasks.png"> ## Installation 1. Add to Gemfile: ```ruby - gem 'i18n-tasks', '~> 0.3.0' + gem 'i18n-tasks', '~> 0.3.2' ``` 2. Create a config file at `config/i18n-tasks.yml`: ```yaml @@ -43,18 +49,10 @@ xlsx-report save missing and unused translations to an Excel file See `<command> --help` for more information on a specific command. ``` -There are reports for `missing` and `unused` translations: - -```bash -i18n-tasks missing -i18n-tasks unused -``` - -Add missing values, generated from the key (for base locale) or copied from the base locale (for other locales). - +You can add missing values, generated from the key (for base locale) or copied from the base locale (for other locales). To add missing values to the base locale only: ```bash # most task accept locales as first argument. `base` and `all` are special i18n-tasks add-missing base