1

I am trying to override: vendor/magento/module_catalog/i18n/en_US.csv

The file was copied to: app/design/adminhtml/vendor/theme/Magento_Catalog/i18n/en_US.csv

Then I ran: php bin/magento setup:static-content:deploy -f & php bin/magento cache:flush

When I look at the admin area the label hasn't changed.

  • Did you created any custom theme for admin? – Ranganathan Dec 25 '19 at 4:25
  • No I did not create an admin theme. I also tried putting the file here: app/design/adminhtml/magento/module-catalog/i18n/en_US.csv which didn't work. – Chris Rosenau Dec 26 '19 at 15:55
1

Core Module translations will not be overridden in custom theme so you need to place the new translations in your custom module folder. Create an empty module or use your existing module.

Just Copy this file vendor/magento/module_catalog/i18n/en_US.csv and paste it to any of your extension app\code\vendor\module\i18n

In detail, Go to section Translation file is located in i18n folder

| improve this answer | |
1

You can give a try by keeping the file into:

app/design/adminhtml/vendor/theme/Magento_Catalog/i18n/en_US.csv

Currenlty you didn't put it in i18n directory. Also make sure that you have working admin theme which has already been created and configured. You can add the same translation using your custom module as translation is performed globally for whole area. It would be working fine for whole admin phrases.

| improve this answer | |
  • I already had it in the i18n directory, I made a mistake when I posted this question and have it updated. – Chris Rosenau Dec 26 '19 at 15:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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