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?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.