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

3.87K viewsCorebug core
0

@Rahul,

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)

Thanks

0

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

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