Solved

Using Magentos JavaScript Translator Object, Which Is the Correct Option

Question 12

Multiple Choice

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions