• Resolved Sandra

    (@spoodes)


    Hello, I have an WooCommerce Online-Shop which is translated by GTranslate (https://de.www.ads-software.com/plugins/gtranslate/).

    This Plugin not also translates the webpage itself, but also the *original* WooCommerce order confirmation email.

    This is working fine with Payal and AmazonPay. It was also working fine with Stripe, which I used additionally before I switched to your WooCommerce Payment Plugin.

    Unfortunately all orders which are paid via the WooCommerce Payment plugin are not translated (credit card, Ideal etc.)

    I have therefore contacted GTranslate and they found out that the WooCommerce Payment plugin is not sending out the original WooCommerce Email – but seems to generate an own one.

    So the translation via GTranslate cannot happen and all my customers get a German order confirmation.

    I do not really see a sense in this, because your plugin does not allow to make any email changes.

    Is there not a way to go for the original WooCommerce emails to avoid such interferences with other plugins (Gtranslate might be just one of several)?

    Thank you,
    Sandra

    • This topic was modified 1 year, 6 months ago by Sandra.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,

    Unfortunately all orders which are paid via the WooCommerce Payment plugin are not translated (credit card, Ideal etc.)

    As a first step, can you switch the site theme to the default Storefront theme temporarily, and then disable all plugins except WooCommerce, WooCommerce Payments and GTranslate? See if the issue persists at this point by creating a test order, if not, it means a conflict was affecting the site, and you can then switch back your theme to the original one, and then reactivate the rest of the plugins (checking again after each plugin reactivation), until you find the culprit.

    More info: https://woocommerce.com/document/how-to-test-for-conflicts/

    If that does not work, please provide us a copy of your site’s System Status Report: It is under WooCommerce > Status. Select “Get system report” and then “Copy for support”.?

    And also, please share a copy of any fatal error log found under WooCommerce > System Status > Logs (if available).

    Thanks.

    Thread Starter Sandra

    (@spoodes)

    Dear Egor, thanks for your reply.

    As I told above – Before coming here, I have already communicated with Gtranslate to take a look into it.

    They found out, the problem is that the WooCommerce payment plugin does not send the ordinary WooCommerce email, but generates an own one.

    Then GTranslate connot jump in with the translation.

    Please find in the attached image what they wrote me.

    Thank you,
    Sandra

    • This reply was modified 1 year, 6 months ago by Sandra.

    Hello,

    I am using a text extractor to get the text from your screenshot:

    Is not an ordinary WooCommerce order, not only I was not able to find this email's template inside woocommerce plugin, but I can also see that text inside woocommerce plugin's email
    fonder's templates are written in English.
    /spoo-design.de/wp-content/plugins/woocommerce/templates/emails/customer-completed-order.php-rt5hhsjw@web31.alfahosting-server.de-Editor-WinSCP
    SEXXEncoding Color -
    This template can be overridden by copying it to your theme/woocommerce/emails/customer-completed-order.php.
    HOWEVER, on occasion WooCommerce will need to update template files and you
    (the theme developer) will need to copy the new files to your theme to
    maintain compatibility. We try to do this as little as possible, but it does
    happen. When this occurs the version of the template file will be bumped and
    the readme will list any important changes.
    (!defined( 'ABSPATH' ) ) {
    exit;
    @see https://docs.woocommerce.com/document/template-structure/
    @package WooCommerce\Templates\Emails
    @version 3.7.0
    @hooked WC Emails::email_header() Output the email header
    action( 'woocommerce_email_header', Semail_heading, Semail); ?>
    hp / translators: %s: Customer first name */ ?>
    get_billing_first_name())); ?>
    
    hp
    @hooked WC Emails::order_details() shows the order details table.
    @hooked WC_Structured_Data::generate_order_data() Generates structured data..
    @hooked WC_Structured_Data::output structured_data() Outputs structured data.
    @since 2.5.0
    action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email);
    Our system can only translate Woccomerae emails, seems this one is being generated by another plugin.
    Thanks
    On Thu, Apr 27, 2023 at 06:39 PM, "Jei"@ZZZZZZZmail.com> wrote:

    You can get more information about the translations of the WooCommerce Payments plugin here:

    WooCommerce Payments includes a documentation to help to customize and translate:

    I hope this points you in the right direction.

    Thread Starter Sandra

    (@spoodes)

    Sorry, it seems you are not getting my point at all.

    I am using GTranslate to make my site multilingual “on the fly” and don’t want to use another plugin for this, because it is working very fine and comfortable.

    The only thing I wanted to know / point at, is, that the programming of the WooCommerce payment plugin unfortunately interferes with GTranslate, because it is not using the standard WooCommerce order confirmation email.

    My question is just, why – because the payment plugin sends out an email which is looking exactly the same as the ordinary WooCommere one and cannot be configured either.

    (For example, with PayPal its working fine, the email gets translated in the users language).

    Saif

    (@babylon1999)

    Hello @spoodes,

    Thank you for providing all of this information.

    May I ask how you were able to determine that the plugin is generating its own order emails?

    Based on my tests, that does not seem to be the case, the plugin only triggers the default WooCommerce email to be sent.

    I have also attempted to translate the original email using Loco Translate, and the translation can be seen in the email.


    Link to image: https://d.pr/i/qMkalz

    At this point, I suggest you try the conflict test mentioned above to determine if the problem is with GTranslate or another plugin. You can also try translating the email using Loco Translate.

    Look forward to hearing back from you.

    Thread Starter Sandra

    (@spoodes)

    Hm. I was not the one who saw the plugin creates an own email, but the support from Gtranslate.

    I had send you the screenshot of his email.

    So he is wrong?

    Thank you.

    PS: GTranslate Translation works fine with PayPal and AmazonPay.

    • This reply was modified 1 year, 6 months ago by Sandra.
    Saif

    (@babylon1999)

    I had send you the screenshot of his email.

    So he is wrong?

    I’m not saying they’re wrong, I was just sharing my findings. :?)

    The extension does send certain emails, for example, if a purchase was made with a card reader but as I demonstrated above, not default order emails.

    I suggest trying out Loco Translate to confirm whether the problem is with the GTranslate plugin or something else.

    More information about translation WooCommerce can be found in the following guide: https://woocommerce.com/document/woocommerce-localization/

    Cheers!

    Hi,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

    Best.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Email-Translation with GTranslate fails’ is closed to new replies.