Is it possible to change the name of the of 'Products' to 'Projects' & Variants to 'Pledges'? I would like to use the Commerce CMS as a base to start from but need to be able to change certain naming of sections. Where can I do this?
You can do this using a custom translations file for Commerce and override some of the default translation strings.
- Go to vendor/commerce/translation/[your-language].php
- Review the instances of the word you want to translate (could be a lot)
- In your project root, create a directory called
- Inside of this directory create a directory with your language code (for me it's
- Inside of the language directory create a file called
commerce.php start with something like this:
<?php return [ 'Products' => 'Projects' ];
And keep going until you have all the strings you want translated added.