• Resolved senseis

    (@senseis)


    Hello,

    My website has PDF Invoices & Packing Slips for WooCommerce (also a pro version) and I have translated the invoice with loco translate but it never really changed then I noticed that the website is using also a translatepress plugin for website pages translations and language switcher but the problem is that translatepress overrules loco translate and when I try to exclude the path to the PDF Invoices & Packing Slips for WooCommerce plugins it does not exclude them. I have tried both with and without *

    This is what I have in “Do not translate certain paths” with “Exclude Paths From Translation” window.

    /wp-content/plugins/woocommerce-pdf-invoices-packing-slips/*
    /wp-content/plugins/woocommerce-pdf-ips-pro/*

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter senseis

    (@senseis)

    Seems like “Disable translation for gettext strings” setting in debug does the thing but I am not sure if it’s the right way of fixing this?

    Hey there,

    Hello,
    ?
    Thank you for reaching out and providing detailed information about the issue you’re facing.
    ?
    You’re correct in noting that the “Disable translation for gettext strings” setting can indeed influence the way translations are handled on your website. This setting is designed to exclude the gettext strings from being translated by TranslatePress. Therefore, by enabling it, you essentially allow other translation methods (like your Loco Translate plugin) to work without interference from TranslatePress.
    ?
    However, this is not exactly a ‘fix’, rather it’s a way to allow both plugins to coexist without conflicting. If you are finding any specific strings that are not being translated correctly or any unexpected behavior even after enabling this setting, it would be great if you could provide us with more details (including screenshots if possible). We’d be happy to look in-depth into the issue and provide a more concrete solution.

    Thread Starter senseis

    (@senseis)

    Well I did it in the most unpleasant way and literally wrote each string that I needed to exclude from TranslatePress in “Exclude Strings” and translated them with Loco Translate because TranslatePress does not offer to translate them individually in it’s “String Translation”. The strings are coming from PDF Invoices & Packing Slips for WooCommerce.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Exclude does not work’ is closed to new replies.