• Resolved ngrudev

    (@ngrudev)


    Hi,

    After updade 4.2.10 the new order email is not translated correctly.

    There is problem with the subject.

    After update I receive:
    [{site_title}] New customer order ({order_number}) – {order_date}

    Before update averything was correct, and I received for example:
    [Luga.bg] New customer order (13688) – {21.04.2018}

    I rolled it back to 4.2.9 untill fixed version is released.

    10x

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

Viewing 15 replies - 1 through 15 (of 23 total)
  • I also have this problem.

    Hello!
    Thank you for reporting this.
    I am checking it now.

    Thank you again!
    I checked the issue.
    It seems that it is a bug and I have notified our developers about it.
    In the mean time, you can work-around this by commenting out line 139 in /wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.php

    
    add_filter( 'woocommerce_email_subject_new_order',  array( $this, 'new_order_email_subject' ) );
    

    Similar problem here, on two different webshops. Respectively:
    New order ({order_number}) [{site_title}]
    [{blogname}] New customer order ({order_number}) – {order_date}

    I suppose I have customised the title code on one of them, don’t remember…

    Looking forward to an update, thanks ??

    Same problem here. The subject is literally: “[{site_title}] New customer order ({order_number}) – {order_date}”

    When is it planned to fix this bug?

    Thank you.

    @alberto3 the issue will be fixed in the next release.
    For now you can use the workaround that I mentioned above.
    Commenting out that line should make it work for you.

    Thank you George. But commenting this line the emails will be unsubject?

    I am not sure what you mean by “unsubject”.
    That hook is there to translate the subject, so removing it – it will pass with just incorrect language – probably the default site language – but it will work.

    That works, thank you!! ??

    I had the same problem.
    This fix works.
    Thanks George Botsev
    (@botzev)

    @botzev when is the next release?

    @ville6000 We have planned a beta release for next week.
    For a stable version – it depends on our developers plans and current tasks and I cannot provide an estimation.

    Hi
    Any update on this error? I am also facing the same issue. Please fix.

    Thanks

    Hello @internelot
    Apart from the mentioned solution here (commenting-out the filter) and the errata page in the WPML site ( https://wpml.org/errata/new-order-email-subject-shows-placeholders-instead-of-site-title-and-date-since/ ) , there is no other solution for now.
    You might want to either use that errata page and patch your instance or check the latest beta version of WooCommerce Multilingual – available from the WPML site for download. Alternatively, you should wait for the release of the new version of WooCommerce Multilingual – as currently is under testing by our QA team and will be available soon.

    Hey
    It seems the updated has been released yesterday but still this issue is not fixed.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Problem with translating {site_title} , {order_number} and {order_date} in email’ is closed to new replies.