If your rails app grows, it is normal that localization keys are left behind, stalled. Knowing which ones are being used is hard, especially when you have edge cases, error strings, etc.
This allows you to collect all the keys being used to a redis instance.
require "e7o"
E7o.configure do |config|
config.redis_host = "redis://PASSWORD@HOST:PORT"
config.enabled = true
end
Add this line to your application's Gemfile:
gem 'e7o'
And then execute:
$ bundle
Or install it yourself as:
$ gem install e7o
This gem inherits a lot from i18n-counter, but because our requests were large, having one call per key lookup was too heavy, so we batched things into request sized pieces.
Contribution directions go here.
The gem is available as open source under the terms of the MIT License.