Using Magentos JavaScript translator object, which is the correct option for translating JavaScript strings within a.phtml file?
A) Translator.newTranslation({"To be translated":"Translated Copy Here"}) ;
B) Translator.add("To be translated") ;
C) Translate({"To be translated","__('To be translated') ; ?>"}) ;
D) Translator-add({"To be translated":"_('To be translated') ; ? >"}) ;
Correct Answer:
Verified
Q43: You want to load my-file.js only on
Q44: Which file adds "breadcrumbs" on pages?
A) page.xml
B)
Q45: Which of the following will render the
Q46: Which file contains the code that renders
Q47: In order to display a custom design
Q49: If you open an HTML document with
Q50: You have created a custom theme called
Q51: Which two of the following examples can
Q52: You want to add additional XML ("Additional
Q53: In System->Configuration 'Design' you can configure individual
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents