lib/tasks/i18n_missing_keys.rake
# Returns an array with all keys from all locales
Returns an array with all keys from all locales
Returns an array with all keys from all locales
def all_keys
    I18n.backend.public_send(:translations).collect do |_check_locale, translations|
      collect_keys([], translations).sort
    end.flatten.uniq
  end
def all_keys I18n . backend . public_send ( :translations ) . collect do | _check_locale , translations | collect_keys ( [ ] , translations ) . sort end . flatten . uniq end
Returns an array with all keys from all locales
Returns an array with all keys from all locales