instance method
available_locales
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
available_locales()
No documentation comment.
Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/active_record.rb, line 14
def available_locales
begin
Translation.available_locales
rescue ::ActiveRecord::StatementInvalid
[]
end
end
Defined in activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/active_record.rb line 14
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in I18n::Backend::ActiveRecord::Implementation