baselbers / woocommerce-pdf-invoices

Automatically generate and attach customizable PDF Invoices to WooCommerce emails and connect with Dropbox, Google Drive, OneDrive or Egnyte.
http://wcpdfinvoices.com
GNU General Public License v3.0
73 stars 40 forks source link

qTranslate-X compatible #99

Open baselbers opened 7 years ago

baselbers commented 7 years ago

https://wordpress.org/support/topic/invoice-are-not-created-in-my-second-language-qtranslate-x/ https://wordpress.org/support/topic/mutli-language-site/

L1lle commented 7 years ago

Same here. I tried to add translation functions to the product title in my invoice template, but it does not work at all.

<?php _e($product->get_title()); ?>

or

<?php echo __($product->get_title()); ?>

But I just get [:en]product title[:de]Produkttitel[:] in my PDF file.

gulty commented 7 years ago

+1, I'd love to have a qtranslate support here.

baselbers commented 7 years ago

👍

baselbers commented 7 years ago

👍