I experience a problem on a Magento 2.4.1 store.
The problem: the Add to cart button on the product page is translated correctly on initial load. This is in Dutch in my case: “In Winkelwagen”. After clicking the button it changes to untranslated text “Adding…” and then “Added” and finally it changes to “Add to Cart” so it resets from Dutch to English when using the add to cart button.
This only happens in production mode. In developer mode the several translations work as expected.
I did some research I found similar issues but those are dated.
- Is this a known bug for this version? (M2.4.1)
- How can I fix it?**