• Resolved sjswiwq

    (@sjswiwq)


    Hi there,

    I use Loco Translate plugin to translate .po/.mo files. However, I use TranslatePress for other content that cannot be translated using these files.

    When an order was placed, in Order -> Edit, I see those texts in the order notes:
    data-trpgettextoriginal=Order status changed from data-trpgettextoriginal=Pending Payment to data-trpgettextoriginal=Processing.

    It appears that Translatepress is adding those wrappings such as: data-trpgettextoriginal=

    After seeing the issue, I enabled the checkboxes:
    Filter Gettext wrapping from post content and title
    Filter Gettext wrapping from post meta

    I also enabled the checkbox:
    Disable translation for gettext strings

    I haven’t tested this yet to see if it works.

    However, I have not added any rules to the Exclude Gettext Strings setting because I assume that enabling the above checkbox will resolve the issue.

    Having read some relevant posts, I would like to confirm whether my approach will work
    https://wordpress.org/support/topic/translatepress-and-e-mail-invoice-pdf-attachment/
    https://wordpress.org/support/topic/arabic-translation-issue-with-plugin/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter sjswiwq

    (@sjswiwq)

    Even after applying the settings above, I am still getting wrappings, in order notes:

    data-trpgettextoriginal=The customer has initiated and payment intent created with ID si_awdkaw82382382382323. The customer had not completed the payment yet.

    October 13, 2025 at 1:20 pm by data-trpgettextoriginal=WooCommerce

    How can I get rid of data-trpgettextoriginal wrappings?

    Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    It appears that this issue was introduced in TranslatePress version 2.10.6. Our development team has been notified, and they will fix that in an upcoming release.

    In the meantime, you can use one of the following workarounds until the fix is available in the core plugin:
    1. Downgrading the TranslatePress-Multilingual to v.2.10.5.
    2. Exclude the woocommerce domain in Exclude Gettext Strings feature –> Domain column from TP Settings –> Advanced tab –> Exclude strings&pages section.

    Kind Regards,

    Thread Starter sjswiwq

    (@sjswiwq)

    I am using Translatepress version 3.0

    I followed option 2. which is “Exclude the woocommerce domain in Exclude Gettext Strings feature –> Domain column from TP Settings –> Advanced tab –> Exclude strings&pages section”. See image

    I am still seeing wrappings in order notes: data-trpgettextoriginal=Order charge successful…

    Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    Our dev team will fix the issue in the next plugin update.

    Thank your for understanding.

    Thread Starter sjswiwq

    (@sjswiwq)

    Hi there,

    I have version Version 3.0.1 installed. I still see data-trpgettextoriginal in the order notes, could you help?

    Plugin Support Alex

    (@alexcozmoslabs)

    Just want to know that our dev team has fixed the #trpst broken strings issue. To benefit from the solution, please make sure you update to the latest version of our plugin.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Wrappings in admin data-trpgettextoriginal=’ is closed to new replies.