Topic: I18n gem fallbacks configuration

I'am testing I18n gem in my app and started by Authlogic that i use for authentication.

As said in the environment.rb

# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.

so i started by adding a config/locales/pt.yml (translating to portuguese) and the translations for the authlogic gem that i have found somewhere:

pt:
  authlogic:
    error_messages:
      login_blank: não pode ficar em branco
      login_not_found: não é válido
      login_invalid: deve usar somente letras, números, espaços e .-_@
      consecutive_failed_logins_limit_exceeded: limite de login consecutivos falhados excedido, a conta está desativada.
      email_invalid: deve ser semelhante ao um endereço de e-mail.
      password_blank: não pode ficar em branco
      password_invalid: xpto
      not_active: A sua conta não está activa
      not_confirmed: A sua conta não está confirmada
      not_approved: A sua conta não foi aprovada
      no_authentication_details: Não forneceu detalhes de autenticação.
    models:
      user_session: sessão
    attributes:
      user_session:
        login: utilizador
        email: email
        password: palavra-passe
        remember_me: lembrar-me

To test it, i have set the default_locale to :pt and it works, the authentication form labels get translated.

Next i switch back to the default_locale again (:en) and the english labels are gone.

Ok, i can