I’ve set up a company webpage with wordpress as cms, and it’s working very nicely. I have 4 languages on the webpage, which I’m handling with qTranslate. With most plugins, it works flawlessly, however with page-links-to doesn’t natively work. I’ve been googling around and found that in older versions of both wordpress, qtranslate and page-links-to, people have been able to hack their way to make it work. I’ve tried a bit, but so far I haven’t had any luck.
I’m not a php wizard. I’m able to change a few things here and there, but I never quite understood php in a way that I can see what to change or how to do it.
So my question is, does anyone have a hack that could fix this?
I’m able to make it post links as /wp/key-technologies/the-rotor-is-the-motor/?lang=<!–:en–>en<!–:–><!–:da–>da<!–:–><!–:de–>de<!–:–><!–:sp–>sp<!–:–>, but it just picks the default language. I need some way to make it see what the current language is, and then take only that part of the link to show (e.g. /wp/key-technologies/the-rotor-is-the-motor/?lang=da)
Alternatively, if there’s another redirect plugin that does this, my problem can be solved just like that, too.