Plugin Organizer qTranslate
-
Hi,
I like Plugin Organizer. I also have qTranslate installed and when I try to selectively enable a plugin that I globally disabled, it only gets enabled for the permalink in the primary language. qTranslate generates a unique URL for each language of a post/page, so those language specific URL’s don’t work when I enable a plugin for a specific post/page. I was thinking that the way to deal with this is to hook the function in Plugin Organizer and strip the language from the URL before Plugin Organizer checks the URL against it’s database. Any help would be appreciated.base URL: https://www.mysite.com/somecategory/some-page
qtranslate urls:
https://www.mysite.com/th/somecategory/some-page
https://www.mysite.com/jp/somecategory/some-page
https://www.mysite.com/de/somecategory/some-page
https://www.mysite.com/fr/somecategory/some-pageqTranslate has this function: qtrans_convertURL(string $url, string $lang)
which can be used to return the base URL if passed the URL (permalink) of the post/page (I think … :0 ) I haven’t tested extensively.qTranslate helpful functions reference
Thanks,
MMX
- The topic ‘Plugin Organizer qTranslate’ is closed to new replies.