Skip to main content

How do you add translation for extensions in Magento2?

How do you add translation for extensions in Magento2?

 

Then generate the dictionary with magento shell tool; from :

 

php bin/magento i18n:collect-phrases -o app/code/{Vendor}/{Module}/i18n/en_US.csv app/code/{Vendor}/{Module}/

do not forget to replace {Vendor} and {Module} with your correct information