- Issue created by @uridrupal
- 🇮🇱Israel jsacksick
This was supposed to be fixed as part of #3187803: Promotions always appear in original language even they are translatable. → .
- 🇪🇸Spain uridrupal
I am trying to update to last version of Commerce. We are at 8.x-2.36, but that fix is old, code should be already there.
I can't figure out why the translation is not showing properly. - 🇪🇸Spain uridrupal
Yes, I saw that issue that's what I am a bit confused.
I have noticed that using the Language switcher doesn't work, but if I empty the cart and put a new product in another language it shows the proper translation, but if I change the language again, everything changes except for that Promotion label, which is a discount on shipping.
Has to be some cache issue - 🇮🇱Israel jsacksick
yeah, the adjustment is added on order refresh (which happens on order save), so a change has to be made to the order for the right language to be reflected. If you switch back & forth, you're going to experience issues. The translation happens from the order processor which then adds the adjustment to the order (and it's saved using the current language)
- 🇪🇸Spain uridrupal
Yes, it seems it's related to this https://www.drupal.org/project/commerce/issues/2981193 → which makes sense since the order is "frozen".
Some labels like Subtotal were changing, but then again those are not adjustments.
Thanks! - Status changed to Fixed
10 months ago 7:15pm 3 February 2024 Automatically closed - issue fixed for 2 weeks with no activity.