devise icon indicating copy to clipboard operation
devise copied to clipboard

devise ignore default i18n locale

Open komba opened this issue 15 years ago • 1 comments

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 avatar May 25 '11 14:05 komba

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

komba avatar May 25 '11 14:05 komba