views:

305

answers:

2

I'm using rails 2.3.5 and devise 1.0.6. I'm having users confirm account's with email. However, when a new user sign's up the flash notice says "The user was successfully created" which it was but it doesn't tell the user that they need to confirm their their email unless they try to log in and devise's flash notice still doesn't explain that they have to confirm through email.

Where is this flash notice located in the gem and how can I change it? Or what is a better way to fix this problem.

+4  A: 

Just enable i18n in your project and edit the default locale (en.devise.yml) or download new ones from http://wiki.github.com/plataformatec/devise/i18n

knoopx
Thanks, I see. So more applicable to what I asked just change the .en local file - if you add this to your answer I'll give you a check otherwise I will add the answer.
Sam
+1  A: 

Flash messages for the devise gem can be altered in the locals directory. Just change the devise.en.yml to your licking. Doesn't really take any programming knowledge.

If you are new to rails the locals directory is for I18n translations which is rails way of translating words albeit statically but it works well for simple projects. it is located in config/locales

Sam