Closed
Description
Preconditions
- Magento 2.2.4
- PHP 7.1.17-1 & MySQL 5.7.22
Steps to reproduce
- You need a Configurable Product with a Swatch Product Attribute in Attribute Set
- Swatch attribute have color or image attached to each swatch attribute value
- This Parent Product have more than three children configured with the Swatch Attribute
- In configuration, you need to have in Catalog > Storefront > Swatches per Product defined to 2
- In configuration, you need to have in Catalog > Storefront > Show Swatches in Product List defined to Yes
Expected result
**String can be translated through i18n string in dictonary.csv**Actual result
**String is not translated**I would like to have some information about this line :
Indeed, I do not see any process to translate this string apart to pass a new value to options moreButtonText.
However, you pass the mage/translate to the define module, so a simple :
html += '<a href="#" class="' + moreClass + '">' + $t(moreText) + '</a>';
would be enough.
Could you provide me some information about this line, or we need to create a pull request about it.
Thank you,
Ilan PARMENTIER