qTranslate doesn't translate comments_popup_link (2 posts)

  1. yvojolie
    Posted 3 years ago #


    I'm working on this website: http://www.phalera.com.
    My client wanted to have the website in two languages, Dutch and English. Therefore I used the qTranslate plug-in and mostly I've been able to alter things like the 'Read more link'.

    But I haven't been able to figure out how to let qTranslate translate the comments_popup_link from Dutch (the default language) to English.

    Does somebody have some experience with this?

    Kind regards,
    Yvo Jolie

  2. gerital
    Posted 3 years ago #

    Try it like this:

    <?php comments_popup_link( __( '<!--:en-->Leave a comment<!--:--><!--:es-->Deja un comentario<!--:-->', 'twentyten' ), __( '<!--:en-->1 Comment<!--:--><!--:es-->1 comentario<!--:-->', 'twentyten' ), __( '<!--:en-->% Comments<!--:--><!--:es-->% comentarios<!--:-->', 'twentyten' ) ); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic