• Resolved paulina111

    (@paulina111)


    Hello,

    I would like to edit text on order-pay page, but I can’t find this text in any woocommerce plugin file. Can you tell me what is the path to correct file? It’s not woocommerce/templates/checkout/FILE-NAME.php

    Additionally, I would like to change the redirect time. Now is too long.

    The text I want to edit: “Thank you for your order. In a moment you will be redirect to the PAYMENT-NAME page”

    I can attach the screenshot.

    • This topic was modified 4 years, 6 months ago by paulina111.
    • This topic was modified 4 years, 6 months ago by paulina111.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    It sounds like you are trying to edit text that is part of a payment plugin. If you can’t locate the string file, you might want to use a String Locator plugin to track down the string: https://wordpress.org/plugins/string-locator/

    I hope it helps.

    Thread Starter paulina111

    (@paulina111)

    Hello,

    @maykato thank you for your answear! I found it and I thing it’s a part of Woocommerce plugin. I haven’t the separate plug for payment.

    The file path:
    wp-content/plugins/WOOcommerce5/lang/przelewy24-en_US.mo
    and:
    wp-content/plugins/WOOcommerce5/lang/przelewy24-en_US.po

    I see the Polish version of this text. The text should be transtaled into Polish (msgid):

    msgid ""
    "Dziękujemy za złożenie zamówienia. Za chwilę nastąpi przekierowanie na "
    "stronę przelewy24.pl"
    msgstr ""
    "Thank you for your order. In a moment you will be redirected to the "
    "przelewy24.pl page"

    Do you know why this text has not been translated on my website? Can I replace the English text with the Polish text?

    • This reply was modified 4 years, 6 months ago by paulina111.
    • This reply was modified 4 years, 6 months ago by paulina111.
    • This reply was modified 4 years, 6 months ago by paulina111.
    Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey @paulina111,

    The text you have referenced is actually not part of the free WooCommerce plugin itself and it’s part of a payment plugin you have installed on your site. It seems the language file for the plugin you’re using has been created in the WooCommerce lang folder.

    You could use a plugin called Loco Translate to search the text strings within the plugins you have installed and use that to check and change text within the language files if need be.

    Thread Starter paulina111

    (@paulina111)

    Hi,

    @maykato @stuartduff thank you for your help!!!

    Hi @paulina111

    You’re welcome! I’m marking this thread as resolved. If you have further questions, feel free to open a new topic!

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

The topic ‘Edit order-pay content text’ is closed to new replies.