0

Excerpt from my config/locales/models/de.yml:

de:
  activerecord:
    attributes:
      guestbook:
        message: Nachricht

The database exactly is the meaning of messages, but the message of the validation error instead of "Nachricht" written "Messages". What's the problem?

1 Answers1

0

Make sure you have setup in config/application.rb the following:

config.i18n.default_locale = :de
CodeGroover
  • 2,157
  • 19
  • 25