heartcombo / devise

Flexible authentication solution for Rails with Warden.
http://blog.plataformatec.com.br/tag/devise/
MIT License
24.02k stars 5.55k forks source link

devise ignore default i18n locale #1090

Closed komba closed 13 years ago

komba commented 13 years ago

Hi. I've set config.i18n.default_locale = :ru and added devise.ru.yml to config/locales directory. But I got not translated messages, for example: --- !map:ActionDispatch::Flash::FlashHash :alert: invalid

But, I18n.translate('devise.sessions.invalid') works fine. Rails 3.0.7, i18n 0.5.0

komba commented 13 years ago

sorry, I just used https://gist.github.com/428830 and it works. Sorry )