MCQs>IT & Programming>Magento>In the context of a template file, which is the proper method of translating the following string: 'Buy a '.$product->getName().' today!'
Magento MCQs
In the context of a template file, which is the proper method of translating the following string: "Buy a ".$product->getName()." today!"
Answer
Correct Answer: $this->__('Buy a %s today!', $product->getName());
Explanation:
Note: This Question is unanswered, help us to find answer for this one