Oh sorry, me again. *g* There was a third thought.

Do you want to change something in views? Last time I used Devise, text in views was hard coded. (I think https://github.com/plataformatec/devise/blob/master/app/views/devise/registrations/edit.html.erb shows, it's still the same.)


rails generate devise:views


Then you can edit the views in app/views/devise




On 03/11/10 20:21, smbepiec wrote:
Sorry

I think I needed a second thought to understand your question.

You want to change the content of the devise-locale-files?

https://github.com/plataformatec/devise/wiki/I18n
Get the files you need, put them into config/locales and change them, however you need them.



On 03/11/10 20:08, smbepiec wrote:
Sorry, perhaps I misunderstood you. But do you mean something like this?

    config.i18n.default_locale = :de

This is in application.rb (rails3) and has nothing specific to do with Devise itself.



On 03/11/10 19:35, Anders_P wrote:
Hello!

This is probably something easy. I've looked at some documentation but
I didn't find any good resources on how to change to default locale
file with Devise authentication plugin. Should I do it in my
application controller or should I change something in Devise? And how
should I do it.

Thanks
// Anders




--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to