I'm currently going through my static template files on a Wordpress-based website using WPML and wondering how I would set this PHP code up to be translatable:
<?php echo preg_replace("/href=\"([^\"]*)\"/", "href=\"$1#activity-filter\"", get_next_posts_link('Next Activities »')); ?>
Specifically the "Next Activities" text.
Currently I'm wrapping other lines of HTML like so:
<p><?php _e('Words that are being translated', 'roots'); ?></p>
Thanks.