Ready to get started?Download WordPress


IM8 qTranslate WooCommerce
[resolved] Shortcode does not work for product category names (5 posts)

  1. ard1an
    Posted 5 months ago #

    Hello Thorsten,

    thanks for developing this plugin and keeping it up to date.

    On my WordPress installation the product category names are not filtered (displaying the shortcodes with all the translations on the front-end).

    Live example: http://2013.healingarts.nl/winkel/

    WordPress 3.8.1
    WooCommerce Version 2.1.2
    PHP 5.3.3-7+squeeze16

    Thanks a lot!



  2. ipm-frommen
    Plugin Author

    Posted 5 months ago #

    Hi Ardjan,

    hm, as I can not confirm any categories being not translated in my test setup (no matter what page/template/fragment) I suspect it has something to do with your theme and how it sets up the categories.

    Unfortunately, you are running a child theme of a premium theme one has to pay for. And thus it is hard to debug this from here. I can't seem to find this way of displaying the categories in the original Maya theme, so I guess this comes from your child theme. Are there any custom filters applied to whatsoever? Did you customize any of the WooCommerce template files? Anything you can share that might be of help?

    Kind regards,

  3. nutka
    Posted 5 months ago #

    Hi Thorsten,

    I also use your im8-qtranslate-woocommerce plugin.

    Category name shortcode works ok for menu and most places.However, on the website I working on there is a sorting/filtering bar which enables sorting by category names. This is a part of theme we use. Category names are not translated on this bar as they should, so for all languages they being displayed like [:pl]Polish Name[:en]English Name [:de]German Name

    The code that displays links to categories is as following

    <li class="sort-cat">term_id; ?>" href="javascript:void(0);"><?php echo $catTerm->name; ?>

    I believe that if I knew what code should I insert instead of <?php echo $catTerm->name; ?>, my problem would be solved.

    I know that my understanding is basic. Do you know what code should I use to display category name , so it works with short code nicely?

    Thank you!


  4. ipm-frommen
    Plugin Author

    Posted 5 months ago #

    Hi Anna,

    there is some part of the code missing. Please use backticks (or the code button) when inserting code.

    How is $catTerm defined?

    Kind regards,

  5. ipm-frommen
    Plugin Author

    Posted 4 months ago #

    Hi there,

    the just relased update will fix this issue.

    Kind regards,


You must log in to post.

About this Plugin

About this Topic