Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error messages are not translatables #32

Open
eliegaboriau opened this issue Dec 13, 2022 · 1 comment
Open

Error messages are not translatables #32

eliegaboriau opened this issue Dec 13, 2022 · 1 comment

Comments

@eliegaboriau
Copy link

As it was raised in this (closed ?) issue, error messages are not translatable

@wernerlaude
Copy link

wernerlaude commented Jun 4, 2023

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants