cancel
Showing results for 
Search instead for 
Did you mean: 

Translate reserved fields in admin Magento2

Translate reserved fields in admin Magento2

I'm trying to translate the label of each fields which is described in below screen shot. I'm using Magento 2.1.6.

 

9mYcu.jpg

 

I have created a language pack in this directory: app/i18n/xxx/yyy/magento2-pt_br/module-backend.csv

Also I have executed the following commands.

 

php bin/magento setup:upgrade && chmod 777 -R var && chmod 777 -R pub

php bin/magento setup:static-content:deploy pt_BR --theme xxx/yyyy_zzzz

php bin/magento setup:static-content:deploy pt_BR --theme Magento/backend

cd var && rm -R *php bin/magento setup:upgrade && chmod 777 -R var && chmod 777 -R pub

But labels are not getting translated with my custom csv file. I do not know what else to do. Thanks for any help.

 

4 REPLIES 4

Re: Translate reserved fields in admin Magento2

@imototepa

 

have you set BR locale into configuration?


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Translate reserved fields in admin Magento2

Hi @imototepa,

 

Which translation package are you using?

Re: Translate reserved fields in admin Magento2


Yes, i have already defined, but do not translate these words from the image

Re: Translate reserved fields in admin Magento2

this https://github.com/Bleez/Magento2-PT-BR , but i 'm using my custom csv files, inside app/i18n/custom/custom.csv