instance method
available_locales
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
available_locales()
Returns an array of locales for which translations are available. Unless you explicitely set the these through I18n.available_locales= the call will be delegated to the backend and memoized on the I18n module.
Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/config.rb, line 37
def available_locales
@@available_locales ||= backend.available_locales
end
Defined in activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/config.rb line 37
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in I18n::Config