I need some help on how to correctly format this code snippet for translation:
<?php next_post_link( '%link', __( '<span class="meta-nav">←</span> Nästa nyhet') ); ?>
I've used this method in my theme before:
_e( 'Nästa nyhet', 'mytheme');
But I don't know how to correctly type the _e translation method in my link output. I want to translate "Nästa nyhet".
Anyone?
_e()willechoa translated string and__()willreturna translated string. – EAMann♦ Oct 10 '12 at 17:04_e()when you want to echo the content to the screen. Use__()when you want to return the translated string within a function for later manipulation. – EAMann♦ Oct 10 '12 at 17:50