module I18n::Backend::Chain::Implementation

def localize(locale, object, format = :default, options = EMPTY_HASH)

def localize(locale, object, format = :default, options = EMPTY_HASH)
  backends.each do |backend|
    catch(:exception) do
      result = backend.localize(locale, object, format, options) and return result
    end
  end
  throw(:exception, I18n::MissingTranslation.new(locale, format, options))
end