class method self.plural_keys

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

Signature

self.plural_keys(locale)

returns an array of plural keys for the given locale so that we can convert from gettext’s integer-index based style TODO move this information to the pluralization module

Parameters

locale req
Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/gettext.rb, line 16
      def plural_keys(locale)
        @@plural_keys[locale] || @@plural_keys[:en]
      end

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

Defined in I18n::Gettext

Type at least 2 characters to search.

↑↓ navigate · open · esc close