1

I am running Magento 2.3. In the customer create account form I changed the way validation form errors are shown in this way:

var dataForm = $('#form-validate');

dataForm.mage('validation', {
    errorPlacement: function(error, element) {
        ... custom functionality ...
    }
}

Doing this all the validation messages lose their translations and are shown in English. If I comment out this piece of code the messages are shown in the current store language.

Anyone had this behaviour before?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.