I want to display in which other languages current page is translated to.
For example if current page is in english, and translation is available in french or on some other language, then script should output link to translated page in french.
If there isn’t translation available, then it should not output anything.
How this can be done.
Right now i use function <?php if (function_exists('qts_language_menu')) qts_language_menu('both'); ?>
which return all languages, no matter if page have translation or no.
I wrote this code to solve my problem. Its not pretty but it works:
Above code need change to work ,
change this line :
change it like this :