Localization function inside conditional placeholder
-
Hi!
I created a custom template for displaying single events. I have some strings inside conditional placeholders that I’d like to translate. Specifically I’d like to wrap them inside a<?php _e(); ?>
function. Here’s an example of the code I have:<?php echo $EM_Event->output(' #_EVENTNOTES {has_attribute} <article id="event-review"> <h2 class="review-title">Event review</h2> <p>#_ATT{Review}</p> </article> {/has_attribute} '); ?>
How can I prepare that “Event review” string for localization?
Thanks in advance to anybody who will take time to reply.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Localization function inside conditional placeholder’ is closed to new replies.