Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Tim W

    (@timwhitlock)

    Loco Translate doesn’t currently work with multiple text domains within the same package (theme or plugin). This will be addressed in any major new release, but there is no timeline for this.

    Thread Starter Jimmy

    (@jayem82)

    It is not same package. It’s different packages Tim, each with their own text domain.

    ‘woocommerce’
    ‘woocommerce-new-badge’
    ‘woocommerce-custom-product-tabs-lite’

    Plugin Author Tim W

    (@timwhitlock)

    Sorry. Insufficient caffeine. I’ll have to take some time to look at it.

    Thread Starter Jimmy

    (@jayem82)

    No probs ??

    I’m guessing it has to do with the dash (-) and loco translate redirects to wrong file.

    WooCommerce redirects to:
    /wp-admin/admin.php?name=woocommerce%2Fwoocommerce.php&type=plugin&poedit=languages%2Fplugins%2Fwoocommerce-new-badge-sv_SE.po&page=loco-translate

    WooCommerce Custom Product Tabs Lite redirects to:
    /wp-admin/admin.php?name=woocommerce-custom-product-tabs-lite%2Fwoocommerce-custom-product-tabs-lite.php&type=plugin&poedit=languages%2Fplugins%2Fwoocommerce-custom-product-tabs-lite-sv_SE.po&page=loco-translate

    WooCommerce New Product Badge redirects to:
    /wp-admin/admin.php?name=woocommerce-new-product-badge%2Fnew-badge.php&type=plugin&poedit=languages%2Fplugins%2Fwoocommerce-new-badge-sv_SE.po&page=loco-translate

    As you can see, both WooCommerce extensions (plugins) works fine, but WooCommerce is faulty.

    Plugin Author Tim W

    (@timwhitlock)

    Hi Jimmy.
    I’ve just been trying to reproduce this error, and I can’t.

    I installed all three plugins and created new language files for all. I tried this in the global languages directory as well as the plugin directories. Clicking the original woocommerce link I don’t get the redirect you describe.

    Can you provide step-by-step instructions on how I can see this error take place?

    Thread Starter Jimmy

    (@jayem82)

    What happens if you delete all the .pot files?

    By the way, WooCommerce uses a new ‘safe upgrade folder’ nowadays:

    \wp-content\languages\woocommerce\

    Could Loco Translate support this?

    WooCommerce also has two files but Loco Translate only support one right?

    woocommerce-admin.pot
    woocommerce.pot

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WooCommerce WooCommerce New Badge’ is closed to new replies.