some i18n keys missing?
Hello, I think there still are some keys missing.
I can’t translate during validation :
model names :
user_session user
attributes :
all the attributes for user
The rest is working just fine.
I’m using the latest gem.
This ticket has 0 attachment(s).
some i18n keys missing?
My locale file looks like this : @@@ fr: authlogic: error_messages: login_blank: ne peut être vide login_not_found: n’existe pas login_invalid: ne doit utiliser que des lettres, des chiffres, des espaces et .-_@ consecutive_failed_logins_limit_exceeded: Trop d’échecs d’authentification consécutifs, le compte est désactivé. email_invalid: "doit ressembler à une adresse email. Ex : [email protected]" password_blank: ne peut être vide password_invalid: n’est pas valide not_active: Votre compte n’est pas actif not_confirmed: Votre compte n’est pas validé not_approved: Votre compte n’est pas approuvé no_authentication_details: Vous n’avez fourni aucune information permettant votre authentification models: user_session: UserSession user: User attributes: user_session: username: le nom d’utilisateur login: le nom d’utilisateur email: l’email password: le mot de passe remember_me: "se souvenir de moi" user: username: le nom d’utilisateur email: "l’email" password: le mot de passe @@@
My two AuthLogic related models are :
UserSession & User
by Benoit B.
Hi, I have also having trouble with model: user_session translation.
It seems that it does not want to translate user_session at all.
I am using Rails2.3.4 & Ruby1.9
I'm having the same problem....
Me too, with Rails 2.3.5 and Ruby 1.8.6.
+1 for me, Rails 2.3.5 & Ruby 1.8.7
+1 for me too, Rails 2.3.5 & Ruby 1.8.7
+1, i18n doesn't work on the User model for Rails 2.3.5
My bad, it actually works. I finally found the I18n module documentation page and discovered the translation keys that are used. I had assumed that it would use the activerecord translation keys.
Hi isc, can you share your solution?
I used the list of keys defined on this page: http://rdoc.info/rdoc/binarylogic/authlogic/blob/85b2a6b3e9993b18c7fb1e4f7b9c6d01cc8b5d17/Authlogic/I18n.html
models:
user_session: UserSession (or whatever name you are using)
This attribute isn't translated for me.
Hi nowhereman! I had the same problem, but i try without "_" and it works for me with Rails 2.3.5 :). Separate with space, like that: "user session"
Little update: It's working with Rails 2.3.8 the normal way: "user_session".
Closing after six years with no activity. If this is still a problem in the latest version (currently 3.5.0), please let us know.