So we have a registration form with the fields Email, Password and Confirm Password as you can see in the picture:
What happens is that the messages which appear once the input has been written keep being showed in English after changing the language to Spanish:
I have modified the:
"Please enter the same value again.","Por favor, ingrese el mismo valor."
"Please enter a valid email address (Ex: firstname.lastname@example.org).","Por favor, ingrese una dirección de correo electrónico válida. (Ej: email@example.com)."
"Minimum length of this field must be equal or greater than %1 symbols. Leading and trailing spaces will be ignored.","La longitud mínima de este campo tiene que ser igual o superior a %1 símbolos. Los espacios iniciales y finales serán ignorados."
After changing all this I ran the below commands:
rm -rf pub/static/*;
php bin/magento setup:upgrade; php bin/magento setup:static-content:deploy;
php bin/magento setup:static-content:deploy es_ES;
I also know and read about that both files:
Don't have priority over(Atleast in my version):