Title: Plugin Polylang &#8211; Comments
Last modified: August 22, 2016

---

# Plugin Polylang – Comments

 *  Resolved [916VT](https://wordpress.org/support/users/vincent916/)
 * (@vincent916)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-comments/)
 * Hi there,
 * Does anyone know how it’s possible to switch comments_popup_link parameters when
   switching languages using Polylang ?
 * For example, I would have ‘Pas de commentaire’ in FR turning to ‘No comment’ 
   in EN (and same for ‘1 …’ and ‘%…’ of course).
 * Thanks a lot for helping !
    Vince
 * [https://wordpress.org/plugins/polylang/](https://wordpress.org/plugins/polylang/)

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

 *  Thread Starter [916VT](https://wordpress.org/support/users/vincent916/)
 * (@vincent916)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-comments/#post-5269926)
 * Hi there,
 * I finally managed to change it by using a new fr_FR.po.
 * But I still can not change the comments.php template here :
 *     ```
       <?php
       printf( _nx( __( '1 Comment', 'my-theme' ), '%1$s Comments', get_comments_number(), 'comments title', 'my-theme' ),
       	number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
       ?>
       ```
   
 * I don’t find how I can make the **%1$s Comments** ready for translation… There
   is no string here and I did not find a way to have one yet.
 * Anyone can help ?
 * Thanks a lot
 *  Thread Starter [916VT](https://wordpress.org/support/users/vincent916/)
 * (@vincent916)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-comments/#post-5269934)
 * I got it right using that :
 *     ```
       $language = get_locale();
       if ($language == 'en_US') {
        ... do something ...
       }
       else {
        ... do something else ...
       }
       ```
   
 * From = [http://wordpress.org/support/topic/setting-different-footers-per-language?replies=4](http://wordpress.org/support/topic/setting-different-footers-per-language?replies=4)
 * I hope do not need more than two languages because it seems to be quite dirty
   to multipliate these when I miss a string.
 * If someone knows a better way, I’m glad to hear it 🙂
 * Cheers
 *  Thread Starter [916VT](https://wordpress.org/support/users/vincent916/)
 * (@vincent916)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-comments/#post-5269939)
 * Another question regarding this plugin.
 * We can not merge comments of differents languages from admin area.
 * I found that : [http://wordpress.org/support/topic/show-comments-for-both-languages-polylang?replies=4](http://wordpress.org/support/topic/show-comments-for-both-languages-polylang?replies=4)
 * And the code on function.php and the wpml-comment-merging.php, the count if right(
   with 2 FR comments and 1 EN comment, it displays 3 Comments) but it displays 
   only the one(s) from current language.
 * I don’t want to use the Polylang plugin version provided by jongorrie because
   it’s not up to date.
 * Is there anyway to make it works with the current version ?
 * PS. Love this phugin but the comments management is making me crazy :$
 *  Thread Starter [916VT](https://wordpress.org/support/users/vincent916/)
 * (@vincent916)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-comments/#post-5269941)
 * Answer was here : [http://wordpress.org/support/topic/merging-comments-from-different-languages?replies=3](http://wordpress.org/support/topic/merging-comments-from-different-languages?replies=3)
 * I hope everything will work now and maybe this will make someone life easier 
   🙂

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

The topic ‘Plugin Polylang – Comments’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

 * 4 replies
 * 1 participant
 * Last reply from: [916VT](https://wordpress.org/support/users/vincent916/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-comments/#post-5269941)
 * Status: resolved