I want to change State/Province label. How can I do it?
Best Answer
There are two to possible this.
Way 1:
If you want to change the shipping address fields as well as billing address fields, you can do via theme transaction if you have made a custom theme as per your language.
If you have a custom or third party theme:
You might find a CSV file there. If you have kept locale as English(United States) which is a default one, there will be a file named en_US.csv
app\design\frontend\Magento\Themename\i18n
Without theme:
Copy locale's csv file from /vendor/magento/module-checkout/i18n folder to app/code/Magento/module-checkout/i18n directory.
Exapmle:
"First Name","Volunteer First Name"
"Last Name","Volunteer Last Name"
Way 2:
If you change made in shipping address fields only, Please override LayoutProcessor.php
as you are using custom theme which have made changes in billing.phtml which breaks a default functionality of magento. compare the file with default theme RWD package and find out the unwanted code from it and make sure that all default id's and form's must be present their.
Best Answer
There are two to possible this.
Way 1: If you want to change the shipping address fields as well as billing address fields, you can do via theme transaction if you have made a custom theme as per your language.
If you have a custom or third party theme:
You might find a CSV file there. If you have kept locale as English(United States) which is a default one, there will be a file named en_US.csv
Without theme:
Copy locale's csv file from
/vendor/magento/module-checkout/i18n
folder toapp/code/Magento/module-checkout/i18n
directory.Exapmle:
Way 2: If you change made in shipping address fields only, Please override LayoutProcessor.php
Step 1 di.xml
Step 2: LayoutProcessor.php
It's work like charm