qTranslate in functions.php

I have a function which redirects user to certain page:

wp_redirect('http://address/page');

Usually I would just use:

Read More
<?php _e("<!--:en-->english permalink<!--:--><!--:de-->german permalink<!--:-->"); ?>

But this is specific situation and I can’t use it this way…

Any idea how to do this?

Thanks!

Related posts

Leave a Reply

1 comment

  1. Are we talking permalinks here or any URL? If any, create an array( 'en' => 'en_url', 'de' => 'de_url' ); and get the URL by accessing the array using qtrans_getLanguage() index.

    If you’re translating internal permalink use the qtrans_convertURL() function.