pablocattaneo
2/7/2017 - 7:07 PM

Translate files in Magento 2

Translate files in Magento 2

TRANSLATE PHP FILES

1-Write the translate here src/app/i18n/topgroup/es_ar
2-clean translate cache php bin/magento cache:clean translate

TRANSLATE JAVASCRIPTS FILES

1-Write the translate here src/app/i18n/topgroup/es_ar
2-rm pub/static/frontend/TopGroup/carrefour/es_AR/js-translation.json
3-Make deploy of misc ( php bin/magento setup:static-content:deploy --exclude-theme Magento/backend --exclude-theme Magento/blank --exclude-theme Magento/luma --no-javascript --no-less --no-images --no-fonts --no-html es_AR)
4-clean translate cache php bin/magento cache:clean translate