Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




qtranlate something to make this plugin even better

UserPost

1:29 pm
March 27, 2009


GeorgeSnyder

Member

posts 3

1

First thank you for creating such a wonderful plugin, I have used it to great effect on a couple of blogs.
The first problem that I have come up with is on a new blog that me and my associates are working on is a multi language blog using the qtranslate http://www.qianqin.de/qtranslate/ plugin. This plugin allows you to have many languages on one installation. Now the bug I am having with your plugin is that when your plugin is turned on, it stops all of the categories being translated, they stick to the default language, everything else works pages, links content etc just not categories… any ideas…
so when your plugin is activated wp_list_categories() does not translate…

Here is how this plugin functions
http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=294
http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=9

So somehow your plugin is messing with the internal wp_list_categories()

Any help greatly appreciated, aswell as your plugin being the only one that really enables a true cms user base system and the qtranslate plugin is really the only one that works for multilanguage blogs, it would be really great and open your user base even larger if the two could work in harmony.

Thanks
George

12:11 pm
March 30, 2009


Kevin

Admin

posts 2502

2

The translation isn't happening because QTranslate registers its get_categories to execute very early. It would seem better for that plugin to register it for late execution so other plugins have a chance to modify the categories first. I suspect the category translation would work if you modify qtranslate_hooks.php as follows:

change:

add_filter('get_terms', 'qtrans_useTermLib',0);

to:

add_filter('get_terms', 'qtrans_useTermLib');

7:12 am
April 1, 2009


GeorgeSnyder

Member

posts 3

3

Thanks will check that out and see if that resolves this small heartache..

Will report back here..

11:28 am
April 1, 2009


GeorgeSnyder

Member

posts 3

4

Ok worked fine, so far no other conflicts, will report back here if any arise from this.

You have made my day, now I can broaden my area with these two plugins together…

I will also post in the qtranslate forum aswell.

Have a good week

George


About the Agapetry forum

Currently Online:

12 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1244

Posts: 5649

Members:

There are 1254 members

There are 1 guests


Kevin has made 2502 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin