-
Notifications
You must be signed in to change notification settings - Fork 109
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
Translations Not Working For validation messages from ValidationMessages module #3360
Comments
Translations of attribute names can be enabled in Our validation message translations could be handled in |
I'm not sure if this is what you need, but I was able to change the language for both alerts and the platform by changing the following lines of code: In
In
|
Hi @aalvan, thanks for the reply! I'm still encountering some trouble on my end. Here's a bit more context:
In particular, it's the validation messages within |
Hi @aalvan, I also tried implementing your changes using |
Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
Expected behaviour:
Actual behaviour:
message:
argument is provided (e.g.validates :text, presence: { message: QUESTION_TEXT_PRESENCE_MESSAGE }
only appear to render in the default language.Steps to reproduce:
message:
argument is providedScreenshots of some rendered validation messages when the 'Français (CA)' language is selected:
The text was updated successfully, but these errors were encountered: