Skip to content

Product added to shopping cart / comparison list message not translated by default #18931

@arnoudhgz

Description

@arnoudhgz

Currently the message that you have added something to your cart is not available in the i18n translation file.

Preconditions (*)

  1. Magento 2.2.6
  2. Non English store
  3. Any environment

Steps to reproduce (*)

  1. Add product to cart
  2. See "You added %1 to your shopping cart."
  3. Add product to comparison list
  4. See "You added product %1 to the comparison list."

Expected result (*)

  1. Strings available in app/code/Magento/Checkout/i18n/en_US.csv and app/code/Magento/Catalog/i18n/en_US.csv

Actual result (*)

  1. Strings not available in app/code/Magento/Checkout/i18n/en_US.csv and app/code/Magento/Catalog/i18n/en_US.csv

Tech hints

  1. Issue occurs since Magento 2.2.6
  2. These commits changed the string used for these messages: 3232465#diff-e4942136d5aba114e8b2c0529c0a040d & edd6062
  3. You added %1 to your <a href="%2">shopping cart</a>. should be added to app/code/Magento/Checkout/i18n/en_US.csv
  4. You added product %1 to the <a href="%2">comparison list</a>. should be added to app/code/Magento/Catalog/i18n/en_US.csv

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions