I'm trying to change "Excl. Tax:" to "Excl. Vat:" and have created a CSV file called en_GB.csv which contains the line – "Tax:", "Vat:".
I've saved and uploaded this to app/design/frontend/Magento/luma/i18n/en_GB.csv.
The translation hasn't worked as my store still shows "Excl. Tax".
I've deployed static files and run the upgrade command too.
Not too sure what to try next?
Best Answer
If the manual translation doesn't work, you can try Magento generation of translation dictionary by collecting translatable phrases in Magento 2.3.x.
Since you are configuring a Magento store in
en_GB
language. You can collect translatable phrases through this command:After running the above command, you can check and open the file with the collected translatable phrases from this path app/i18n/Magento/en_GB.csv
From there you can find and replace every "Excl. Tax" translatable phrase.
After you finish changing those words, you should run below command:
Flush cache. And your changes will reflect in the frontend.