i need help with transposh.
I can't find the right $tag to switch lang with transposh.
I have a slider with 2 category, one in french and the other in english. What i need to do is to change the category slider with the right language.
Here is my code :
<?php if($lang == 'fr') echo do_shortcode ('[promoslider width="930px" height="350px" category="francais"]'); else if($lang == "en") echo do_shortcode ('[promoslider width="930px" height="350px" category="anglais"]'); ?>
i know my code is good cause it work with qtranslate, and i know that the problem is because i have the wrong $tag it is NOT $lang that's for sure, so what it is ????
i tried with $languages, $language, $transposh etc.... so many !!!! lol
is someone can help ? please....