Support » Plugin: qTranslate slug with widget » [Plugin: qTranslate slug with widget] categories dont have multiple slugs!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Yes, please add it…

    Plugin Author 3dolab

    (@3dolab)

    I’m working on that, please be patient ^__^

    Plugin Author teonsight

    (@teonsight)

    Hi 3dolab,
    did you fix it, in the end?

    I’m using
    WP 3.2.1
    qTranslate 2.5.24
    qTranslate META 0.9.1 (deactivated, is the same)
    qTranslate slug with Widget 0.4

    but in Posts -> Categories -> Modify (or Insert), i see only field to translate the category names, not the slugs.

    Any idea?

    Thanks

    zlapper

    (@zlapper)

    same question here!

    thanks in advance 🙂

    Plugin Author teonsight

    (@teonsight)

    Hi,

    I’ve worked a bit and implemented slug translation for categories. Here is the code, it hasn’t been tested deeply but should work even for nested 2+ level categories.

    Paste this code http://pastebin.com/xnC4wkMD in a file, save as FILENAME.php and upload in your plugin folder.

    Basically it’s http://wordpress.org/extend/plugins/qtranslate-slug-with-widget/ with a patch.

    Plugin Author 3dolab

    (@3dolab)

    Thank you!
    I’ve merged this patch into the new 0.5 version, along with other features. However, all this stuff has still to be tested deeply.

    Hi,

    Is get_category_link supposed to work?

    It doesn´t work for me. It always returns “” whether I send the category ID as a parameter or not.

    I checked the code and I saw you have this filter:
    add_filter(‘category_link’, ‘qTranslateSlug_category_link’, 0, 2);
    but also this comment inside the function:
    //TODO: implement it!
    but there is a lot of code so I don´t know what to think.

    – Albin

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: qTranslate slug with widget] categories dont have multiple slugs!!’ is closed to new replies.