class I18n::Backend::LazyLoadable

def init_translations

Load translations from files that belong to the current locale.
def init_translations
  file_errors = if lazy_load?
    initialized_locales[I18n.locale] = true
    load_translations_and_collect_file_errors(filenames_for_current_locale)
  else
    @initialized = true
    load_translations_and_collect_file_errors(I18n.load_path)
  end
  raise InvalidFilenames.new(file_errors) unless file_errors.empty?
end