I installed and got qTranslate fully functional. I then realized that although it was translating the posts, it was not translating the Smooth Slider plugin content. Is there a way to fix it so the Slider content is translated as well?
I installed and got qTranslate fully functional. I then realized that although it was translating the posts, it was not translating the Smooth Slider plugin content. Is there a way to fix it so the Slider content is translated as well?
I found a very odd work around. I am confused because it works seamlessly for the $post_title but then requires a workaround for the $slider_excerpt?
What I did was in the Smooth Slider j.php files (around line 173) I wrapped the textual variables with the qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage()
so $post_title became qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($post_title)
same for $slider_excerpt
Now this change made the titles works just fine, but for some reason the excerpt themselves still displayed each language concatenated. to solve this last delema, I merely added the language shortcode to each post text.
So I start every english post with [:en] and every french post with [:fr]
And voila, it works. I still am hoping to remedy the problem so I don't need this last step and would love it if anyone can make any suggestions.
working for me with post_title,
thnks
Thanks QuestionBoy,
your workaround works good to me too, with both title and content.
Thanks,
workaround works good, with both title and content.
In addition to this, if you want title of the post in Smooth Slider to reference to your post in your current language, on the same line QuestionBoy specified change $permalink into qtrans_convertURL($permalink)
--
use qtrans_convertURL() to parse the urls.
http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=1133&hilit=link+to+language#p4438
You must log in to post.