How do I translate this word?

5.50K viewsGeneral
1

Hello, you can translate this word in the follow folder:

wp-content\plugins\anspress-question-answer\theme\default\answers.php

you have that open file answers.php and go to the line 18 and there are something like this:

<?php echo ‘<span data-view=”answer_count”>’.ap_answer_get_the_count().'</span> ‘ .sprintf(_n(‘answer’, ‘answers‘, ap_answer_get_the_count(), ‘anspress-question-answer’)); ?>

the word marked in bold,italic and with underline is the that you must change to your language.

 

This is an example:

<?php echo ‘<span data-view=”answer_count”>’.ap_answer_get_the_count().'</span> ‘ .sprintf(_n(‘answer’, ‘Réponse‘, ap_answer_get_the_count(), ‘anspress-question-answer’)); ?>

I don’t have the same line as you but here is what I have at the line 18:

<?php echo '’.ap_answer_get_the_count().’ ‘ .sprintf(_n(‘answer’, ‘answers’, ap_answer_get_the_count(), ‘anspress-question-answer’)); ?>

Can you please tell me where shall I put the translated word?

Thanks.

You are viewing 1 out of 2 answers, click here to view all answers.