"Newer/older posts" translation

Hi,

i need to translate “Newer posts” & “Older posts”. Could you tell me where i could make these changes ?

Regards.

Jech

Hi,

I add this code in the function.php file (in the child theme), and it look all right :

function activello_paging_nav() {
	// Don't print empty markup if there's only one page.
	if ( $GLOBALS['wp_query']->max_num_pages < 2 ) {
		return;
	}
	?>
	<nav class="navigation paging-navigation" role="navigation">
		<h1 class="screen-reader-text"><?php esc_html_e( 'Posts navigation', 'activello' ); ?></h1>
		<div class="nav-links">

			<?php if ( get_next_posts_link() ) : ?>
			<div class="nav-previous"> <?php next_posts_link( __( 'Ancien', 'activello' ) ); ?></div>
			<?php endif; ?>

			<?php if ( get_previous_posts_link() ) : ?>
			<div class="nav-next"><?php previous_posts_link( __( 'Nouveaux', 'activello' ) ); ?> </div>
			<?php endif; ?>

		</div><!-- .nav-links -->
	</nav><!-- .navigation -->
	<?php
}

Regards,

Jech

Hi Jech,

Awesome great to see you got that resolved.

Alternatively you can achieve this by translating the theme as described on the following page.

Please advise if you have more questions.

Have a fantastic day!

Cheers,
Movin