class I18n::Backend::LazyLoadable
def filenames_for_current_locale
These files must start with the locale identifier (ie. "en", "pt-BR"),
Select all files from I18n load path that belong to current locale.
def filenames_for_current_locale I18n.load_path.flatten.select do |path| LocaleExtractor.locale_from_path(path) == I18n.locale end end