I'm using allot of custom queries, and qtranslate. Qtranslate works with everything that has home url in it. But for posts /thumb permalinks if I change language to Russian for example links remain default language specific.
So if I'm browsing /ru/ links on that page lack /ru/ so I get redirected back to default language. Does anyone know simple solution?
I've digged extensively and found this: qtrans_convertURL( 'http://www.mysite.com/post-name/' );
I could use this and put all my permalinks within this function. But there should be a simpler solution, right?
qtrans_convertURL()
is used as callback forpost_link
andthe_permalink
filters. – Mamaduka Sep 15 '12 at 11:54