class method self.available_locales

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

Signature

self.available_locales()

No documentation comment.

Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/active_record/translation.rb, line 74
        def self.available_locales
          Translation.find(:all, :select => 'DISTINCT locale').map { |t| t.locale.to_sym }
        end

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

Defined in I18n::Backend::ActiveRecord::Translation

Type at least 2 characters to search.

↑↓ navigate · open · esc close