Benoit Alix
Quiz by , created more than 1 year ago

Magento 2 Certified Professional Front End Developer Exam Questions

102
0
0
Benoit Alix
Created by Benoit Alix about 3 years ago
Close

Magento 2 Certified Professional Front End Developer Exam Questions

Question 1 of 1

1

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?

Select one of the following:

  • 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

Explanation