matthutchinson / acts_as_textcaptcha

Text-based logic question captcha's for Rails 🚫🤖

Home Page:https://acts-as-textcaptcha.hiddenloop.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"