No commit activity in last 3 years
No release in over 3 years
Find required locales keys
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 0
~> 10.0
 Project Readme

TheActualLocales

Way to find and log actual localization keys into your i18n locale files

The Problem

It can be difficult to find actual localization keys after months of maintenance of rails project

The Solution

This gem collect all executed I18n.translate and I18n.t calls and dump it into YAML file at #{Rails.root}/log/

Installation

group :development do
  gem 'the_actual_locales', '~> 0.0.1'
end

And then execute:

bundle

Usage

  1. Install gem
  2. exec rails s
  3. Visit required pages with required locales
  4. Learn /log/actual_locale.LOCALE_NAME.yml

MIT license