Closed
Description
This is follow up to closed issue: #2056
One issue still remains:"Add to Cart" Button translation is partly broken
Steps to reproduce
- Install Magento from
develop
branch. - cd <document_root>/var
- get latest translationfile: wget http://107.170.242.99/var/Head/source_nl_NL.csv
- cd ..
- find . -name js-translation.json -exec rm -rf {} ;
- php bin/magento i18n:pack --mode=replace -d var/source_nl_NL.csv nl_NL
- php bin/magento setup:static-content:deploy en_US nl_NL
- php bin/magento indexer:reindex
- php bin/magento cache:clean
- php bin/magento cache:flush
- Change locale to nl_NL
- Add a simple product
- 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"
- Go to the product page: Click the translated "Add to Cart" button
Expected result
- Show translated strings of "Adding...", "Added", and "Add to Cart"
Actual result
- "Adding...", "Added", and "Add to Cart" are not translated