I have a function which redirects user to certain page:
wp_redirect('http://address/page');
Usually I would just use:
<?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!
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 usingqtrans_getLanguage()
index.If you’re translating internal permalink use the
qtrans_convertURL()
function.