# File lib/active_support/vendor/i18n-0.4.1/i18n/backend/fallbacks.rb, line 40 def translate(locale, key, options = {}) default = extract_string_default!(options) if options[:default] I18n.fallbacks[locale].each do |fallback| begin result = super(fallback, key, options) return result unless result.nil? rescue I18n::MissingTranslationData end end return super(locale, nil, options.merge(:default => default)) if default raise(I18n::MissingTranslationData.new(locale, key, options)) end