someVar = <?php echo $this->__("Yes") ?>
seems to not work. Even when I try console.log(<?php echo $this->__("Yes") ?>)
. Isn't $this->__()
supposed to return just string?
I have the translation in the *.csv
file and I know it's the correct one, because I work with other translations from that file in the same template.