class I18n::Config

def available_locales

the call will be delegated to the backend.
Unless you explicitly set these through I18n.available_locales=
Returns an array of locales for which translations are available.
def available_locales
  @@available_locales ||= nil
  @@available_locales || backend.available_locales
end