currently I have this code:
<?php _e( 'Follow ' . get_bloginfo( 'name' ) . ' on Facebook', 'yanse' ); ?>
But I just get Follow to translate and it echoes "Seguir 'Site name' on Facebook"
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityYou can use sprintf
:
echo sprintf( __('Follow %s on Facebook', 'yanse'), get_bloginfo('name') );