Zusammenfassung der Ressource
Frage 1
Frage
You are developing a German language theme for the Magento Marketplace named mytheme. In your Magento installation you have a third-party German language package installed.
The theme “mytheme” already contains a mytheme/i18n/de_DE.csv file. The graphic designer wants you to rename the Add to Cart button to make the text shorter.
Keeping upgradability in mind, where do you add the new string?
Antworten
-
Override the Magento_Catalog/view/frontend/templates/product/view/addtocart.phtml template in mytheme and replace the string.
-
Add the string to mytheme/i18n/de_DE.csv
-
Add the string to the third-party German language package
-
Add the translation to the core_translate database table