Skip to content

"Add to Cart" Button translation partly broken #4181

Closed
@thomvanderboon

Description

@thomvanderboon

This is follow up to closed issue: #2056

One issue still remains:"Add to Cart" Button translation is partly broken

Steps to reproduce

  1. Install Magento from develop branch.
  2. cd <document_root>/var
  3. get latest translationfile: wget http://107.170.242.99/var/Head/source_nl_NL.csv
  4. cd ..
  5. find . -name js-translation.json -exec rm -rf {} ;
  6. php bin/magento i18n:pack --mode=replace -d var/source_nl_NL.csv nl_NL
  7. php bin/magento setup:static-content:deploy en_US nl_NL
  8. php bin/magento indexer:reindex
  9. php bin/magento cache:clean
  10. php bin/magento cache:flush
  11. Change locale to nl_NL
  12. Add a simple product
  13. Surf to website: Go to category list or wish list, click "add to cart". The button nicely changes to the translated strings "Adding...", "Added", "Add to Cart"
  14. Go to the product page: Click the translated "Add to Cart" button

Expected result

  1. Show translated strings of "Adding...", "Added", and "Add to Cart"

Actual result

  1. "Adding...", "Added", and "Add to Cart" are not translated

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for development

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions