Error messages are not translatables
eliegaboriau opened this issue · comments
As it was raised in this (closed ?) issue, error messages are not translatable
I have succeeded to translate in Rails 7 like that:
de:
activerecord:
errors:
models:
contact: # which is my model
attributes:
textcaptcha_answer:
incorrect: " - das stimmt nicht, versuche es nochmals!"
expired: "wurde nicht beantwortet, versuchen Sie es stattdessen mit einer anderen Frage!"
attributes:
contact
textcaptcha_answer: "TextCaptcha Antwort"