There appear to be a number of possible approaches to this.
Create a script (e.g. with
awk
orsed
) to scan your files with the regular expression in this question: Extract I18n translation keys from rails projectUse a Rails plugin like the following: https://github.com/romanbsd/translate.
You can run
rake translate:missing
and it will identify the missing keys.Incorporate tests for missing keys into your test suite framework, assuming your framework covers all views. See http://dev.innovationfactory.nl/2009/05/04/rails-i18n-caveats-and-tips/#translations