Even if the product variation is translated, the "add to cart" is not translated in the product variation label.
Here is code that i added, please create patch for this.
Drupal\commerce_cart\Form\AddToCartForm;
function public function submitForm ....
after $purchased_entity = $order_item->getPurchasedEntity();
$language = \Drupal::languageManager()->getCurrentLanguage(LanguageInterface::TYPE_INTERFACE)->getId();
if($purchased_entity->hasTranslation($language)){
$purchased_entity = $purchased_entity->getTranslation($language);
}
Fixed
2.0
Cart
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.