Howto: wp e-commerce qtranslate categories

the best way of making your WP e-Commerce solution to be multilingual is to use qTranslate plugin.
but some of the functions are not implemented by qTranslate. For example, localization of Products categories.
In this case you need to add some code to qtranslate_hooks.php file. It is located in the root of your qTranslate plugin.

// WPSC Taxonomies
add_action('wpsc-variation_add_form',      'qtrans_modifyTermFormFor');
add_action('wpsc-variation_edit_form',      'qtrans_modifyTermFormFor');
add_action('wpsc_product_category_add_form',      'qtrans_modifyTermFormFor');
add_action('wpsc_product_category_edit_form',      'qtrans_modifyTermFormFor');

That’s it. Now you are able to translate your products categories to your languages.
solution is found here.


  1. Wow! Thanks for guide.
    Those works great.

    But, it is better to place this code in functions.php (in your theme folder).. in order not to lose thoose tweak on qTranslate plugin updates from wp repository

  2. I might be wrong, but I think this file qtranslate_hooks.php is not replaced during upgrades.

  3. Hello, can you tell me what is code for wp Catalogue?

    I have qtranslate and, wp catalogue don’t have translate name.. Can you help me?

Leave a Reply

%d bloggers like this: