• Resolved nicola883

    (@nicola883)


    I thought woocommerce is supported because the translation of the products works well.

    I have translated all the 300 products and translated the woocommerce categories by hand.

    The products have now the right translated category, but in the front end when I select the category, they are not shown.

    The only way to show them that I have found is to open the product, de-click the category, click again and save. In this way it works, but because I have 5 language it is difficult to do by hand for all: with a bulk action doesn’t work.

    I thought that I have the problem because I have translated the category after the products, but not, also if I translate the categories before it doesn’t work.

    Many thanks for your help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor erichie

    (@erichie)

    This is a setting that you need to enable inside of Polylang. If you go to the Polylang settings at the bottom of the page you will see a Synchronization option. Make sure that the Taxonomies option is checked and then Save Changes. You also need to make sure that your Categories are translated before you send your Products to Lingotek for translation.

    Nicola, have you had a chance to try erichie’s suggestion and if so, did it solve your problem? If it did, please be sure to mark this issue as resolved! If it did not, please let us know what you are experiencing and we will work to resolve it.

    We appreciate the feedback as it helps us to further improve the plugin!

    Thread Starter nicola883

    (@nicola883)

    Sorry for the delay.
    The synchronization option of Polylang was enabled.
    I have started now again from a fresh installation of Lingotek plugin starting from a backup of the db before the translation: the problem could be because Polylang needs to have the categories translated before, as you suggest.

    But when I try to translate the woocommerce categories, I get an error on someone and I cannot complete for it the translation.

    I have done on product categories section of woocommerce with bulk action:
    – upload to lingotek, waited
    – update translation status and again until I get the “ok” on all
    – request translation status, waited
    – update translation
    – download translation

    When I did this last step (with bulk action) I have seen that some translation (near to all) was not downloaded, and no error was showed.

    If I try to download the translation on each category I get this error:

    Fatal error: Call to a member function get_translation() on a non-object in /var/www/progetti/apexrecycling/wp-content/plugins/lingotek-translation/include/group-term.php on line 127
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0000	240960	{main}( )	.../edit-tags.php:0
    2	0.0000	242280	require_once( '/var/www/progetti/apexrecycling/wp-admin/admin.php' )	.../edit-tags.php:10
    3	0.1962	6860256	do_action( )	.../admin.php:332
    4	0.1962	6861816	call_user_func_array:{/var/www/progetti/apexrecycling/wp-includes/plugin.php:496} ( )	.../plugin.php:496
    5	0.1962	6862280	Lingotek_Term_actions->manage_actions( )	.../plugin.php:496
    6	0.1967	6891984	Lingotek_Actions->_manage_actions( )	.../term-actions.php:163
    7	0.1983	6923256	Lingotek_Group->create_translations( )	.../actions.php:391
    8	0.1983	6923800	Lingotek_Group_Term->create_translation( )	.../group.php:250

    Many thanks for your help.

    Thread Starter nicola883

    (@nicola883)

    I confirm that in my woocommerce installation doesn’t work: after that I have created (by hand) the product categories, I did the translation of the products.
    Still the products are not shown in the categories: all the translated categories are empty.

    The only way I have found to show the product in the category is edit it, de-clicking the category, click again and save.

    Plugin Contributor erichie

    (@erichie)

    Just a couple questions for you so I can further investigate and help you resolve this issue. Are any of your Categories being translated? Do you have any Sub-Categories?

    Plugin Contributor erichie

    (@erichie)

    There is a plugin that integrates Polylang and Woocommerce more fully together. I have installed it on my local environment and Category translation and syncing to my Products is working great!

    The plugin is Hyyan WooCommerce Polylang Integration. Please give it a try to see if it can help you get your Categories and Products all translated and synced together.

    Also, with the release of version 1.0.9 of our plugin it should solve the issues you were having with Category translations not being downloaded. If it does not, please let us know.

    Plugin Contributor erichie

    (@erichie)

    Marking topic as resolved.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Products not shown in woocommerce categories’ is closed to new replies.