How to make custom text use the Inline Translation tool in Magento Enterprise

I’ve created a piece of text in a Magento Template, and the inline translation tool is turned on and working fine, but when I visit the page with my custom text, it seems to ignore that it’s translatable (no book icon and dotted red border).

So here’s what I have (approx):

<div class="foo">
    <?php echo $this->__('My custom Text'); ?>
</div>

Which renders fine, and if I edit the relevant CSV file, it changes appropriately.

Is there any way to “add” this to the translation tool’s eyeline?

Thanks in advance!

Leave a Reply

*

Hire Me
Follow Me!
Search
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.
Categories