1

I want to change the "city" section to "suburb" please. how do I do that?

1
  • Anyone explain, what is mean "suburb", may i know what is the suburb of Victoria, Australia?
    – zus
    Jul 5, 2018 at 9:18

2 Answers 2

2

The simplest method is to use en_US.csv (or whatever language is set at ur locale). Make an entry in that as follows:

"City", "suburb"

in app/design/frontend/Vendor/theme/i18n/en_US.csv

4
  • Hello manish, i have to added app/design/frontend/vendor/module-checkout/i18n/en_US.csv file and changed entry as per you answer but no any changes on the checkout page so can you help me?
    – meet
    Feb 19, 2018 at 11:26
  • what is the path of the theme that you are using?
    – Manish Joy
    Feb 19, 2018 at 11:28
  • @ManishJoy I have 2 store, i need "suburb" display instead of City only for store 2, my store 1 like Same the text "City".
    – zus
    Jul 7, 2018 at 6:16
  • then check for the language of store 2, it will be like fr_FR, en_AU etc. make a csv file with this name like fr_FR.csv and make the changes in that file only.
    – Manish Joy
    Jul 9, 2018 at 5:12
1

You have to create a .CSV file in your system with 4 column like

City    Suburb  module  Magento_Checkout
City    Suburb  module  Magento_Customer
City    Suburb  module  Magento_Email
City    Suburb  module  Magento_Sales
City    Suburb  module  Magento_Shipping

Then run these command

cd /your root magento directory path
php bin/magento i18n:pack --mode=replace --allow-duplicates "put your CSV file path of your system"  en_US

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.