On a product-detail page when you click on "Add to cart" it is not correctly translated. In english it says: "Adding..." and "Added". I found that the string is correctly translated in the correct language in "js-translation.json". But on front-end it is not showing the translation ..?

I have removed all var/ and all pub/static folders and then ran: bin/magento setup:static-content:deploy nl_NL

After clearing cache, nothing has been changed ...? Any solutions?

  • Anyone that could help? :-) – user3086053 Sep 12 '17 at 14:39
  • can you share your vendor/magento/module-catalog/view/frontend/web/js/catalog-add-to-cart.js or your's catalog-add-to-cart.js if you rewrite it – Mohamed El Mrabet Nov 22 '17 at 21:44

Your Answer

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

Browse other questions tagged or ask your own question.