Domanda

I am trying to change the validation message Please enter the same value again for password field using translate csv.but it's not translate on the frontend.

Can any one please guide here what's wrong with this.

I am using magento 2.4

È stato utile?

Soluzione

Maybe you've missed the dot? Place the following in app/design/%vendor%/%theme%/i18n/en_US.csv

"Please enter the same value again.","Please enter the same value again."

If it's a Javascript translation don't forget to remove:

pub/static/frontend/%vendor%/%theme%/en_US/js-translation.json

Also make sure to run:

php bin/magento cache:clean

If that didn't work: You may have to clean browsers Local Storage in addition to Magento internal caches.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange
scroll top