PrepAway - Latest Free Exam Questions & Answers

which is the correct option for translating JavaScript …

Using Magentos JavaScript translator object, which is the correct option for translating JavaScript strings within
a.phtml file?

PrepAway - Latest Free Exam Questions & Answers

A.
Translator.newTranslation({“To be translated”:”Translated Copy Here”});

B.
Translator.add(“To be translated”);

C.
Translate({“To be translated”,”<?php echo $this->__(‘To be translated’); ?>”});

D.
Translator-add({“To be translated”:”<?php echo $this->_(‘To be translated’); ? >”});


Leave a Reply

Your email address will not be published. Required fields are marked *