one comment, " x number" comments -title wont translate

  • Author
    Posts
  • #22091
    Danny L

    Hi,
    Im using parabola theme (child) with finnish language, all is working very well, except translation of theme_comments.php. I managed to translate

    printf ( comments_popup_link( __( ‘No comments’, ‘parabola’ ), __( ‘<b>1</b> <span>Comment</span>’, ‘parabola’ ), __( ‘<b>%</b> <span>Comments</span>’, ‘parabola’ ),(”),__(‘<b>Comments off</b>’,’parablola’) ));

    via functions.php by just changing the nessessary words, but i cant seem to find the way to translate The number of comments title the same way (getting error…blank page).

    <?php printf( _n( ‘One Comment’, ‘%1$s Comments’, get_comments_number(), ‘parabola’ ),
    number_format_i18n( get_comments_number() )); ?>

    if theres no other way (fi.po), how do i add these 2 fuctions to functions.php file so that they work. the finnish translation works with the default theme. but i like parabola theme much better . i have tried using poedit too, but no such luck.
    -Danny L

Viewing 1 post (of 1 total)

The topic ‘one comment, " x number" comments -title wont translate’ is closed to new replies.