Translate using the title of the comments qTranslater
-
Good evening everyone.
I’m trying to translate parts of comments using the qTranslater but I can not, I try to put the __ () in place in _nx () but appears only 1 option in translation.
In the blog you will heads in Portuguese and English version and to using the tags in case [: en] Comment [pt] Comentario.
The code is this:
<h2 class=”comments-title”>
<?php
printf( _nx( ‘One thought on “%2$s”’, ‘%1$s thoughts on “%2$s”’, get_comments_number(), ‘comments title’, ‘duena’ ),
number_format_i18n( get_comments_number() ), ‘<span>’ . get_the_title() . ‘</span>’ );
?>
</h2>`
- The topic ‘Translate using the title of the comments qTranslater’ is closed to new replies.