Title: [Plugin: qTranslate]
Last modified: August 20, 2016

---

# [Plugin: qTranslate]

 *  Resolved [whoopcg](https://wordpress.org/support/users/whoopcg/)
 * (@whoopcg)
 * [14 years ago](https://wordpress.org/support/topic/plugin-qtranslate-3/)
 * Hi there.
 * I’m using this code to list all titles, both languages at the same time, and 
   would like to add the permalink to each language. If I use <?php the_permalink()?
   > it only returns, obviously, the default language.
 *     ```
       <?php
       remove_filter('the_posts', 'qtrans_postsFilter');
       query_posts('cat=0$posts_per_page=-1'); // query to show all posts independant from what is in the center;
       global $post;
       if (have_posts()) :
          while (have_posts()) :
             the_post();?>
       <?php echo qtrans_use('pt', $post->post_title); ?>
       <?php echo qtrans_use('en', $post->post_title); ?>
       <?php  endwhile;
       endif;
       add_filter('the_posts', 'qtrans_postsFilter');
       wp_reset_query();
       ?>
       ```
   
 * [http://wordpress.org/extend/plugins/qtranslate/](http://wordpress.org/extend/plugins/qtranslate/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [whoopcg](https://wordpress.org/support/users/whoopcg/)
 * (@whoopcg)
 * [14 years ago](https://wordpress.org/support/topic/plugin-qtranslate-3/#post-2763283)
 * Was using this plugin forum also and was answered!
    Hope this helps others.
 * Must use
    `<?php echo qtrans_convertURL(get_permalink(), 'pt'); ?>`

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: qTranslate]’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/qtranslate.svg)
 * [qTranslate](https://wordpress.org/plugins/qtranslate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/qtranslate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/qtranslate/)
 * [Active Topics](https://wordpress.org/support/plugin/qtranslate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/qtranslate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/qtranslate/reviews/)

## Tags

 * [permalink](https://wordpress.org/support/topic-tag/permalink/)

 * 1 reply
 * 1 participant
 * Last reply from: [whoopcg](https://wordpress.org/support/users/whoopcg/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/plugin-qtranslate-3/#post-2763283)
 * Status: resolved