Closed Numkil closed 1 week ago
Strange, I just did a quick test with German and that's working correctly
And in a /translations/de/formie.php
file:
<?php
return [
'Please fill out this field.' => 'Please fill out this field - translated.',
];
Yeah im not sure whats happening either.
In the HTML of the form I see this. Which does seem to point to the issue being somewhere in the javascript side.
There are no console errors either. Wondering what else I could have misconfigured or something for it to not be working.
I figured it out. I was some custom JavaScript interfering with the formie translations. Sorry about the confusion
Describe the bug
JS Frontend validation is not working for me when trying to translate validation errors to dutch [nl-BE].
I see that in the html of the form a script tag window.FormieTranslations has been created. Which Does contain the correctly translated dutch validation error messages. So the static translation stuff seems to be working correctly.
However when the validation errors are displayed I still get shown the English errors instead of the translated ones.
Steps to reproduce
Form settings
Craft CMS version
4.10.1
Plugin version
2.1.19
Multi-site?
yes
Additional context
No response