Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
8k views

How to translate PHTML text including html markup

I'm familiar with how to translate strings including variables such as <?php echo sprintf(__('Hello %s'), $yourVariable) ?> So what's the cleanest way to translate this example in a PHTML ...