Translation with Polylang not working properly for some emails and PDFs
-
Hi there
I’m using Polylang and Hyyan WooCommerce Polylang Integration (WooPoly) for managing the translation of my shop. In general, Germanized for WooCommerce (WGZD) works great with these plugins, however, I’m having trouble with the translation of various emails and PDFs.
This generally applies to all emails and PDFs that have been initiated by the admin itself after the customer placed his order (shipment email, packaging slip, cancellation email, cancellation invoice). Other emails (e.g., customer paid for order) and PDFs (e.g., customer invoice), that are sent automatically after the customer placed his order, are translated correctly.
Emails and PDFs that are initiated by the admin aren’t translated into the order language (English), but the website’s language (German). Thus, it seems that the order language is being ignored for these email and PDF types.
I checked that the translation of emails is enabled in the WooPoly settings.
I also tried adding the shipment email (shipment_email) to the WGZD emails via the filters
'woocommerce_gzd_polylang_order_emails'
and'woocommerce_gzd_polylang_emails'
, but with no luck. I could notice that the cancellation email (customer_invoice_cancellation) is already added within the WGZD Pro plugin, but apparently not being translated.Can you reproduce this issue?
I’m using the latest versions:
WordPress: 5.3.2
Avada Theme: 6.1.2
WooCommerce: 3.9.1
Germanized for WooCommerce: 3.1.2
Germanized for WooCommerce Pro: 2.0.12
Polylang: 2.6.9
WooPoly: 1.4.3and PHP 7.2.18 on an Apache webserver.
Please let me know if you need additional information.
Thanks in advance
- The topic ‘Translation with Polylang not working properly for some emails and PDFs’ is closed to new replies.