2

The Javascript translation in Magento 2 is buggy as hell. And I just can't get the cancel button for the minicart dialogue translated. The one when you try to delete a product from the cart. I even tried adding it manually to the js-translation.json but that does not work either. Any tips?

  • hi, did you find any solution? I'm having the same problem. – Typo Nov 22 '18 at 20:54
  • I could not find a good solution :( I think I hacked something stupid together but can't remember exactly. But it still seems buggy as hell. – alobeejay Nov 24 '18 at 3:41
0

I've just come across the fix which should be released in 2.3.*

A temporary fix is to override the confirm.js file in your theme and make the changes specified in the PR.

To override in your theme place the new file in app/design/frontend/Vendor/theme/Magento_Ui/web/js/confirm.js

Your Answer

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

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