• Resolved psivel

    (@psivel)


    Hi,

    I have noticed something strange. I use your plugin and Kadence Email Designer. When I update the order with the tracking number, if I check the automatic status change from Processing to Completed, the Email Subject and main header fields don’t get translated (the rest of the email is)…

    But if I first enter the tracking number, save and then, change manually the order status to Completed and save again, now the entire e-mail is correctly translated.

    Well it’s ok for me since I was doing that before you insert this checkbox. But it would be cool if you could correct that in future releases.

    Very good plugin anyway !

    Thank tyou.

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter psivel

    (@psivel)

    Just to add a detail to my last message:

    Now I’m testing with all my languages (FR, EN, ES, NL, DE) using the trick above (first saving the tracking number and then changing order status to send the mail). Everything works fine in FR, EN, ES but I have a problem in NL and DE for the “order complete” email.

    In NL, everything is OK except the order details table header. The title “Order details”, Order number, order date and column titles (Product, Quantity and Price) are in english. The rest is in Dutch.

    In DE, the main text (Hello customer, we are pleased to inform you blablabla…) is in French (my main language), the tracking info table, the entire order details table, the adresses headers and even the footer (which I have translated in all languages)à are in english…

    I can’t believe that I can have such different results depending on the current language.

    Do you have an idea ?

    Thread Starter psivel

    (@psivel)

    To conclude: If I mark the NL and DE orders as Complete without using your plugin to add a tracking number, the emails are correctly translated. But obviously I lose the tracking table… It seems that there is a problem with your plugin though…

    Thread Starter psivel

    (@psivel)

    OK problem solved deactivating your email template in woocommerce emails list but ALSO in your plugin settings… Sorry for this long thread for nothing.

    Just remains the first problem about the checkbox…

    Plugin Author Zorem

    (@zorem)

    Hi @psivel,

    I checked the completed email and for translate email header and subject, you need to do it with default WooCommerce settings. We are not doing anything with the email header and subject in the completed email.

    Thanks,

    Thread Starter psivel

    (@psivel)

    Hi,

    What do you mean by “for translate email header and subject, you need to do it with default WooCommerce settings” ? if you mean translate header field and subject with WPML it’s already done since if I don’t check the checkbox these fields are correctly translated. I’ve translated all the fields in my emails in WPML it’s just that in the case I was describing the header and subject were not taken into account…

    But I was telling you it was OK, that I could do the complete process in 2 steps until I find a new side effect..

    Now, when I apply a discount coupon (let’s say 10%), everything is correct until I complete the order.

    – If I complete the order in 2 steps (first tracking number and the change status to complete) the emails are correctly translated but the amount of the discount becomes incorrect (for example a discount of 8,07 € will be recalculated to 8,11 €) thus the completed email and admin order page contains now wrong values…

    BUT

    – If I leave the checkbox checked to set automatically the order status to completed, then the subject and header fields don’t get translated anymore BUT the discount amount are still correct (and they are also correct in the completed email sent to customers).

    So I need to leave this checkbox checked to keep the correct discount values and I need to find the solution to translate correctly the subject and header.

    What do you suggest ?

    Regards,

    Pierre

    Plugin Author Zorem

    (@zorem)

    Hi @psivel,

    We checked our code and we are not doing anything with the completed email header or subject in our plugin. We are just adding tracking details in the completed email. Maybe you have any conflict issue with another plugin.

    Thanks,

    Thread Starter psivel

    (@psivel)

    Hello,

    I’ve changed from Kadence to WP HTML Mail – WooCommerce and it has solved my problem. All my emails are translated correctly.

    Now I have another problem. When I use the checkbox to automatically change order status (via Ajax right ?) the customers country is no more translated. So, for example, a german customer who has received the order confirmation email with “Deutschland” in his address, sees “Allemagne” in the shipping confirmation email. I see that your plugin contains strings for country names so I’ve also translated them for Germany in order to do my tests but it doesn’t solve the issue.

    Remark: This not happens if I do the process in 2 steps (tracking number + order status leaving the checkbox unchecked) but, as stated above, if I do that my discount coupons display wrong amounts…

    Can you help me with that one ?

    Thanks

    Plugin Author Zorem

    (@zorem)

    Hi, the change order status is the exact same action in 1 or 2 steps. the only difference is that the process is Ajax, it might be that you need to refresh the page after you save the order and in both cases, the plugin just changes the order status to Shipped, nothing else.

    Thanks

    Thread Starter psivel

    (@psivel)

    Reloading the page after saving won’t change nothing since the shipping confirmation email is sent as soon as tracking number and order status is changed by your plugin.

    Well it’s 3 messages you say that the problem cannot be caused by your plugin but I’ve deactivated everything but woocommerce, WPML, Advanced shipment and WP Email and I have exactly the same behaviour:

    – When I manually change the order status, the page is refreshed and the country name is correctly sent in the confirmation email (Deutschland)
    – When I change the status via your plugin, the country name in the email is Allemagne…

    So IMHO it’s obvious that there is something wrong in the way your plugin (or Ajax) fires the woocommerce functions…

    I’ve also opened a ticket on WPML, let’s see if they will me more helpful.

    Thanks.

    Plugin Author Zorem

    (@zorem)

    Hi @psivel, We just change the order status to a completed when you add tracking details and the select checkbox “Mark as completed”. Mail is sending through default WooCommerce system, We are not changing any text in a completed email.

    Thanks,

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Subject and main header not translated’ is closed to new replies.