Magento – Magento – Rename Tax to GST

adminlocalisationmagento-1producttax

Throughout my Magento website, where there are products, I made it so that a customer can see the price of the products, with and without Tax.

However, how can I rename the word 'Tax' to 'GST' whenever a product is viewed within the website. I believe I have to go to the back-end and change some script around, I just don't know where?

Best Answer

You have two options (modifying core files does not count)

  1. Database based approach, using admin panel:

    Use inline translations. In System > Configuration > Advanced > Developer you can activate translation mode. If your site is publicly accessible, make sure to enter your IP address in "Developer Client Restrictions", otherwise anybody can change translations:

    Screenshot

    Then you can click on the translation icon Translation Icon next to each translatable string and change the translation:

    Screenshot

  2. File based approach, using theme translations:

    This approach is useful if you want to change translations based on the theme instead of globally, and if you want to keep changes under version control. Create the file locale/en_US/translate.csv in your theme directory below app/design if it does not exist and add the following line:

    "Mage_Tax::Tax","GST"
    

    It should be noted that only one translate.csv is used at a time, using the theme fallback mechanisms. So if you have one in package/default and in package/custom, only the latter is used.

Related Topic