3

When run setup:static-content:deploy command then js-translation.json not generating.

So it is creating an issue in admin to load order, customer and product grid.
File Path is

pub/static/adminhtml/Magento/backend/en_US/js-translation.json

And same file not generating on the frontend.

/pub/static/frontend/vendor/theme/en_US

3

1 Answer 1

2

Use this command :
bin/magento setup:static-content:deploy --theme=Vendor/Theme en_US -f
I had problem in admin panel and I ran
bin/magento setup:static-content:deploy --theme=Magento/backend en_US -f
This command created
js-translation.json
in
pub/static/adminhtml/Magento/backend/en_US/js-translation.json

5
  • I will check and reply you soon. Commented Jun 29, 2018 at 12:57
  • which Magento version you are using? Commented Jul 7, 2018 at 10:28
  • @Jugal Kishor 2.2.3 Commented Jul 7, 2018 at 11:41
  • I checked Your command working. Thanks very much Commented Jul 7, 2018 at 12:07
  • Then choose it please as the best) Commented Jul 7, 2018 at 12:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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