Viewing 1 replies (of 1 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi Michael,
    WPML stores the order language in a custom field with meta key ‘wpml_language’ – this is not the locale but language slug (i.e. fr for french, de for german etc.). If you set that field, the PDF will automatically be printed in that language. I’m not 100% sure the product names etc. will also be translated if you inject the orders like this, but that’s easy enough to check – if they’re translated in the WooCommerce email, they will be in the PDF too.

    Hope that helps!
    Ewout

Viewing 1 replies (of 1 total)
  • The topic ‘PDF Language for order via API’ is closed to new replies.