Re: [Rails] |Newbie] Change default locale I18n file devise.

2010-11-03 Thread smbepiec
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 ge

Re: [Rails] |Newbie] Change default locale I18n file devise.

2010-11-03 Thread smbepiec
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,

Re: [Rails] |Newbie] Change default locale I18n file devise.

2010-11-03 Thread smbepiec
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 som

[Rails] |Newbie] Change default locale I18n file devise.

2010-11-03 Thread Anders_P
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. Tha