I am getting an "translation missing" error message from Rails 3:
activerecord: notices: messages: success: create: "Something was created" models: user: success: create: "Thanks for registration" I18n.t("activerecord.notices.models.user.success.create") # => "Thanks for registration" I18n.t("activerecord.notices.models.book.success.create") # => "translation missing: de, activerecord, notices, models, book, success, create"
I don't know why the book model doesn't get the fallback massage. I have set config.i18n.fallbacks = true
.
I set in config/application.rb
usually
config.i18n.fallbacks = [:de, :fr, :en]
So you can declare the order of the fallback.
But keep attention in some environments/*.rb the configuration is overwritten.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With