find_t

Find locale files where translation for key is defined.

  • Lookup all defined translations through languages
  • Detect conflicts for the same translation key across files

Installation

$ gem install find_t

Or add the gem to your Gemfile.

gem 'find_t'

Synopsis

find_t [--rails] {key}
Option Description
--rails Include full locale files in Rails' load path
{key} A translation key to search for

Sample

$ find_t 'exception.projectshow'
Starting find_t at /Users/ykiwng/Develop/wantedly/wantedly
Scanning...

==> en

- config/locales/99_naka/en.yml:23
  "Sorry, you have to sign up to view this page!"

==> ja

- config/locales/01_model/ja.yml:3
  "この募集は、現在非公開です"
- config/locales/99_naka/ja.yml:23 [CONFLICTED]
  "この募集は、現在非公開です"

License

This project is copyright by Creasty, released under the MIT lisence.
See LICENSE file for details.