Skip to content

a-chernykh/missing_translations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

missing_translations

Shows missing I18n keys in Rails applications. It parses all view files searching for t helper invocation. haml, erb and slim (without Translator plugin) views are supported.

Installation

Add the following line to your Gemfile:

gem 'missing_translations'

How to run

bundle exec rake missing_translations

Example output in one project of mine:

% rake missing_translations
Searching in app/views/admin/app_versions/nodes.html.erb
...
Searching in app/views/layouts/application.html.slim

Missing translations
en.logo.alt
en.layouts.application.welcome.message

About

Shows missing I18n translation keys in Rails apps

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages