“Answer” and “Answers” hardcoded in answers.php

3.10K viewsCorebug core


This line is hardcoded in answers.php

<?php echo _n( ‘Answer’, ‘Answers’, $count, ‘anspress-question-answer’ ); ?>

This prevents it from being translated, so for now I’ve hardcoded it (v 4.1.5)



Hello Mark,

No, that was not hard coded. _n() is a gettext function. May be issue is due to po file is not updated. I have committed latest pot file. Please update your po file using our pot.

commented on answer

Ok. Thanks