instance method localize

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

Signature

localize(locale, object, format = :default, options = {})

No documentation comment.

Parameters

locale req
object req
format opt = :default
options opt = {}
Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/chain.rb, line 61
      def localize(locale, object, format = :default, options = {})
        backends.each do |backend|
          begin
            result = backend.localize(locale, object, format, options) and return result
          rescue MissingTranslationData
          end
        end
        raise(I18n::MissingTranslationData.new(locale, format, options))
      end

Defined in activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/chain.rb line 61 · View on GitHub · Improve this page · Find usages on GitHub

Defined in I18n::Backend::Chain

Type at least 2 characters to search.

↑↓ navigate · open · esc close