Title: WPML compatability
Last modified: August 31, 2016

---

# WPML compatability

 *  Resolved [disconnect](https://wordpress.org/support/users/disconnect/)
 * (@disconnect)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wpml-compatability-1/)
 * Hi Bas, how are you?
 * First of all, I really like your plugin, it’s simple and workes well!
 * I have recently installed WPML and now I get this error:
 *  Parse error: syntax error, unexpected end of file in /home/~foldername~/public_html/
   wp-content/plugins/woocommerce-pdf-invoices/includes/templates/invoices/simple/
   micro/body.php on line 1
 * Please assist
 * thanks!
 * [https://wordpress.org/plugins/woocommerce-pdf-invoices/](https://wordpress.org/plugins/woocommerce-pdf-invoices/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [disconnect](https://wordpress.org/support/users/disconnect/)
 * (@disconnect)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wpml-compatability-1/#post-7092065)
 * ok, I found out what was the problem, woocommerce version is 2.4.13 and pdf invoices
   version was 2.4.1
 * Since I want to wait with the woo update, I changed back WooCommerce PDF Invoices
   version to 2.4.0 and it’s back to normal.
 *  Plugin Author [Bas Elbers](https://wordpress.org/support/users/baaaaas/)
 * (@baaaaas)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wpml-compatability-1/#post-7092080)
 * Did you tried to delete and reinstall plugin?
    Save settings on General and Template
   tabs? Did you get WPML to work with the invoices?
 *  Thread Starter [disconnect](https://wordpress.org/support/users/disconnect/)
 * (@disconnect)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wpml-compatability-1/#post-7092082)
 * Hi Bas, yes I did.
 * Once I re installed previous version, it worked.
 * I will try to re install the new version on a test site I have and will update
   here
 * btw, is there an alternative to check country? instead of using:
    $this->order-
   >get_formatted_billing_address()
 * Something that will show the country selection?
 * Thanks!
 *  Plugin Author [Bas Elbers](https://wordpress.org/support/users/baaaaas/)
 * (@baaaaas)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wpml-compatability-1/#post-7092083)
 * Try:
    `echo get_post_meta($this->order->id, '_billing_country', true );`
 * Are you trying to translate the invoices with WPML?
 *  Thread Starter [disconnect](https://wordpress.org/support/users/disconnect/)
 * (@disconnect)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wpml-compatability-1/#post-7092085)
 * Thanks!
    actually, no, just creating a case for my own country and the rest of
   the world (tax issues)
 *  Plugin Author [Bas Elbers](https://wordpress.org/support/users/baaaaas/)
 * (@baaaaas)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/wpml-compatability-1/#post-7092232)
 * I’m struggling with WPML for some time now to translate invoice, but it’s almost
   ready.
 *  Plugin Author [Bas Elbers](https://wordpress.org/support/users/baaaaas/)
 * (@baaaaas)
 * [9 years ago](https://wordpress.org/support/topic/wpml-compatability-1/#post-9030265)
 * Added WPML and Polylang support to [WooCommerce PDF Invoices Premium](http://wcpdfinvoices.com/changelog/).
 * If you have any questions, just let me know.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘WPML compatability’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-pdf-invoices/assets/icon-128x128.png?rev=1128583)
 * [Invoices for WooCommerce](https://wordpress.org/plugins/woocommerce-pdf-invoices/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pdf-invoices/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pdf-invoices/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pdf-invoices/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Bas Elbers](https://wordpress.org/support/users/baaaaas/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/wpml-compatability-1/#post-9030265)
 * Status: resolved