i18n-tasks v0.9.8 adds key refactoring
i18n-tasks v0.9.8 adds the long-awaited support for moving, merging, and removing keys from the command line via the new mv
command!
i18n-tasks is a gem that helps you find and manage missing and unused translations.
The gem analyses the code statically for key usages, such as I18n.t('a.key')
, in order to:
- Report keys that are missing or unused.
- Pre-fill missing keys, optionally from Google Translate.
- Remove unused keys.
Thus addressing the two main problems of the i18n gem design:
- Missing keys only blow up at runtime.
- Keys no longer in use may accumulate and introduce overhead, without you knowing it.
See the full release notes here.
Post a comment