Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some i18n keys missing? #31

Closed
ghost opened this issue Aug 7, 2009 · 14 comments
Closed

some i18n keys missing? #31

ghost opened this issue Aug 7, 2009 · 14 comments
Assignees

Comments

@ghost
Copy link

ghost commented Aug 7, 2009

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.

original LH ticket

This ticket has 0 attachment(s).

@ghost
Copy link
Author

ghost commented Aug 7, 2009

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 : votre-nom@lefigaro.fr"
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.

@fadhlirahim
Copy link

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

@bezelga
Copy link

bezelga commented Jan 3, 2010

I'm having the same problem....

@nowhereman
Copy link

Me too, with Rails 2.3.5 and Ruby 1.8.6.

@astropanic
Copy link

+1 for me, Rails 2.3.5 & Ruby 1.8.7

@orangewise
Copy link

+1 for me too, Rails 2.3.5 & Ruby 1.8.7

@isc
Copy link

isc commented Apr 22, 2010

+1, i18n doesn't work on the User model for Rails 2.3.5

@isc
Copy link

isc commented Apr 22, 2010

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.

@orangewise
Copy link

Hi isc, can you share your solution?

@isc
Copy link

isc commented Apr 22, 2010

@nowhereman
Copy link

models:
  user_session: UserSession (or whatever name you are using)

This attribute isn't translated for me.

@vasahaag
Copy link

vasahaag commented Sep 2, 2010

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"

@vasahaag
Copy link

vasahaag commented Sep 3, 2010

Little update:
It's working with Rails 2.3.8 the normal way: "user_session".

@jaredbeck
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants