• Resolved danbp

    (@danbp)


    hi,

    thank you for this plugin, works great.

    But how to translate it ? Textdomain is missing…
    Where to put .mo file and what should this file name be exactly ?

    I tried maning things and was unable to get it to work.

    Found a little error in compliments.php:73 while building a pot file.

    <?php echo sprintf(_n('1 of 1', '%1$s to %2$s of %3$s', $total, 'buddypress'), $start, $end, $total); ?>

    replaced by

    <?php printf(_n('1 of 1', '%1$s to %2$s of %3$s', $total, 'buddypress'), $start, $end, $total); ?>

    to get plural form correctly in poEdit.

    Regards.

    https://ww.wp.xz.cn/plugins/buddypress-compliments/

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Missing pot file’ is closed to new replies.