Plugin Contributor
Ewout
(@pomegranate)
Hi! Hebrew characters are not supported by the font (Open Sans) that is used in the Simple Template, and dompdf (the PDF converter library) does not support RTL.
We have an experimental add-on that replaces dompdf with another library that supports RTL and also includes a font that supports hebrew (arabic too, for that matter).
The plugin is hosted on github here: https://github.com/wpovernight/woocommerce-pdf-ips-mpdf
And you can download the plugin zip in the releases section: https://github.com/wpovernight/woocommerce-pdf-ips-mpdf/releases/download/v1.0/woocommerce-pdf-ips-mpdf.zip
After activating the plugin, you can switch to the “Simple RTL” template which already has the correct font & text direction setup. This should fix most of the issues mentioned in the previous emails, but I’d love to hear your feedback!
Thanks for your quick respond!
I have followed your guide and installed this add-on and i have almost solved all my concerns.
But still there some issues need a fix!
I am sharing an invoice which has been generated by this plugin and i wish to let you see it.
Here you go : https://www.scribd.com/document/380746026/Invoice
I think i also should translate all the english words to hebrew, Any way to re translate those words(like “INVOICE” , “INVOICE NUMBER” , ” INVOICE DATE”) ?
Morever, To move all the product name a little bit to right. (check it out, I think this product name isn’t in the right position)
Plugin Contributor
Ewout
(@pomegranate)
Hi! Thank you for your feedback. I have made changes to the style so that all text in the table is now aligned to the right instead of to the left, so that it is truly mirroring the original design (you can download the latest version of the style.css separately if you like, here)
The translations “Invoice”, “Invoice Number” and “Invoice date” can be entered with a plugin like Loco Translate or directly on the po/mo files: Using custom translations. You can also became an official translator for this plugin if you enter the translations here on ww.wp.xz.cn:
https://translate.ww.wp.xz.cn/projects/wp-plugins/woocommerce-pdf-invoices-packing-slips/stable/he/default
Hope that helps!