Support » Plugin: WooCommerce » Email text translation

  • Resolved Zsolt

    (@hoborzsolt)


    Hi! I updated to new version 3.6.2. Language Hungarian. The completed email message included the following english sentence: We have finished processing your order. I’m not able to find and translate it with PoEdit. I had to translate the messages after all update and I haven’t have any problem until now. Thanks for any advice!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support EtienneP a11n

    (@etiennep)

    Hi there!

    I had a look at the Hungarian translation and it seems the We have finished processing your order message has not been translated yet and I could find it in the translation file found here – https://translate.wordpress.org/projects/wp-plugins/woocommerce/stable/hu/default/


    Link to image: https://cld.wthms.co/mgRUe9

    Having said that, I could find that string with Loco Translate as well and using that, you can translate that text.

    Here is a guide on how to use Loco Translate with WooCommerce – https://docs.woocommerce.com/document/woocommerce-localization/#section-6

    Thread Starter Zsolt

    (@hoborzsolt)

    Dear Etiennep!
    Many thanks for your detailed answer.
    I checked again based on your info the files.
    But I’m little confused.

    As far as I know the messages based on the following woocommerce php.
    woocommerce/templates/emails/customer-completed-order.php

    On 26 th April 2019 – has changed the php file and the original message
    * @version 3.5.0
    <p><?php esc_html_e( ‘We have finished processing your order.’, ‘woocommerce’ ); ?></p>

    Now on 5th May 2019 – the old version of the message reappears in the php
    * @version 3.5.0
    <p><?php printf( esc_html__( ‘Your %s order has been marked complete on our side.’, ‘woocommerce’ )

    I’m not able find both message in the new www/wp-content/languages/plugins
    woocommerce-hu_HU.mo and woocommerce-hu_HU.po with issue date 5th May 2019.

    In the www/wp-content/languages/plugins/woocommerce-hu_HU.po with issue date 2nd April 2019, has had the required text.
    https://ibb.co/4sch5Nj
    Link

    When and why are this files continuously updated?
    How can I avoid to check continuously the files to prevent to send english message or failure message?
    WooCommerce send now Email message – order completed with english (non translated) text.
    https://ibb.co/KyztWQT
    Link

    Thanks for your advice in advance! Zsolt

    Thread Starter Zsolt

    (@hoborzsolt)

    Dear EtienneP!

    Additional information
    I checked on translate.wordpress.org the latest release and I have found only the text version
    “We have finished processing your order”
    Link

    The old one, that is in the php, cannot find in the translation
    “Your order has benn marked complete on our side.”
    Link

    Best regards Zsolt

    Plugin Support EtienneP a11n

    (@etiennep)

    Hi @hoborzsolt!

    Apologies for the late response!

    Ok, the reason for the change in text is described here – https://github.com/woocommerce/woocommerce/issues/23078

    What I would suggest is you start with a new updated translation file for Hungarian and then follow the guide here to prevent a future update from overriding your translation – https://docs.woocommerce.com/document/woocommerce-localization/#section-8

    Alternatively, you can manually translate that string by using a free translation plugin like Loco Translate

    Thread Starter Zsolt

    (@hoborzsolt)

    Hi EtienneP,
    many thanks i have understood it.
    Best regards Zsolt

    Plugin Support EtienneP a11n

    (@etiennep)

    Hi @hoborzsolt

    No worries!

    I’m going to mark this as resolved now and if you have any further questions, feel free to start a new thread.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Email text translation’ is closed to new replies.