Skip to content

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

License

Notifications You must be signed in to change notification settings

the-trash/the_actual_locales

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages