安装有 如下的 Gem:
rails_admin
devise
在 config/locales 下有
rails_admin.zh-CN.yml
devise.zh-CN.yml
在 application.rb 设置了
config.i18n.default_locale = "zh-CN"
但程序打开就是会出现:
Missing translation 的提示
然后,试图去修改 config/locales 任何一点改动,都会报错:
can not load translations from **** /config/locales/rails_admin.zh-CN.yml, expected it to return a hash, but does not
求大家指点,我指向想使用 中文化 呀....