Title: Multilingual site ( wpml )
Last modified: June 2, 2017

---

# Multilingual site ( wpml )

 *  Resolved [Dimono](https://wordpress.org/support/users/dimono/)
 * (@dimono)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/multilingual-site-wpml/)
 * Hi there,
 * Can this plugin be used on a multilingual site ( WPML ). With multilingual invoices?

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/multilingual-site-wpml/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/multilingual-site-wpml/page/2/?output_format=md)

 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/multilingual-site-wpml/#post-9190359)
 * yes, but the [professional extension](https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-professional/)
   is required for this.
    It works with Polylang too (which is better than WPML 
   in my opinion)
 *  [Envirocycle](https://wordpress.org/support/users/enviroadmin/)
 * (@enviroadmin)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/multilingual-site-wpml/#post-9354597)
 * Hi Ewout,
 * We do have the free version of this plugin installed and was able to locate and
   translate the text from “Shop Address” and “Footer: terms & conditions, policies,
   etc.” in WPML/String Translation.
 * Even if these strings are translated in WPML, the text is not translated on the
   invoice it self.
 * Is the free version blocking translations?
 * Thank you for your help!
    Mathieu
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/multilingual-site-wpml/#post-9356006)
 * Hello Mathieu,
    The free version is not blocking translations, but in the 2.0
   version of the plugin these settings are stored as ‘array’ form to facilitate
   compatibilty with with multilingual plugins (not just WPML). Being an array it
   can now contain all the translations. During the upgrade the old settings were
   migrated to new settings but to make it possible for people to downgrade if the
   upgrade was not successful, we did not delete the old settings. So it’s possible
   you have translated the old (now obsolete) settings (for example, old setting
   = `wpo_wcpdf_template_settings`, new = `wpo_wcpdf_settings_general`).
 * It was definitely not our intention to block translations, but I’m not sure if
   String Translation supports serialized data/arrays. Perhaps WPML can help with
   this, but ultimately the bottom line is that we do not offer _active_ support
   for WPML in the free version. The Pro version contains quite a bit of code to
   make sure the PDF is always generated in the correct language (admin, email attachment,
   my account) and also to make translating the settings field easier:
    ⌊WPML translations⌉
 * I hope that perhaps WPML support can help you translate the settings from the
   new format!
 * Kind regards,
    Ewout
 *  [Envirocycle](https://wordpress.org/support/users/enviroadmin/)
 * (@enviroadmin)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/multilingual-site-wpml/#post-9358087)
 * Hi Ewout,
 * I was able to generate the new strings of the new Domain “wpo_wcpdf_settings_general”
   using a wpml-config.xml and then to translate them in WPML/String Translation.
 * But I’m not able to delete the string of the old Domain “wpo_wcpdf_template_settings”
   in WPML/String Translation as I usually do for any other strings I deleted in
   the past. It’s the first time I try deleting strings and they still show up after.
 * Even If the string are translated for the new domain, the translation are still
   not showing up on the invoice. Maybe because the strings of the old domain remain
   because I cannot delete them. Something is blocking them to be deleted.
 * What can be done to fix this issue?
 * Thank you for your help!
    Mathieu
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/multilingual-site-wpml/#post-9358327)
 * Hello Mathieu,
    I don’t know what could be blocking this… the `wpo_wcpdf_template_settings`
   option is still in the database, so that may be why WPML still picks it up (since
   it doesn’t know it’s deprecated)? If something is blocking it to be deleted it
   must be WPML, because the free version does not interfere with WPML in any way.
   I recommend to contact WPML support about this. Also, note that the wpml-config
   will need to be configured different from before because the data is a serialized
   array, not a flat string. Unfortunately this is outside of free support.
 * Ewout
 *  [Envirocycle](https://wordpress.org/support/users/enviroadmin/)
 * (@enviroadmin)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/multilingual-site-wpml/#post-9395146)
 * Update,
 * Here is a message from WPML:
    “It turned out that it’s a compatibility issue 
   between the plugin and WPML. Also, the plugin uses deprecated WPML functions.
   I already escalated the issue to our Compatibility Team and they are searching
   for a workaround. I’ll get back to you as soon as I get any feedback from them.”
 * Please provide a way to completely delete the old domain “wpo_wcpdf_template_settings”
   from the database.
 * We only want the new domain “wpo_wcpdf_settings_general”.
 * Note that your plugin uses deprecated WPML functions.
 * Thank you for your help!
 * Mathieu
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/multilingual-site-wpml/#post-9395158)
 * Hello Mathieu,
    Thank you for the message, I will contact WPML to ask them about
   the deprecated WPML functions that are used, because the free version uses _no
   WPML functions at all_!
 * I will include a button to remove old settings from the database in the next 
   update.
 * Ewout
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/multilingual-site-wpml/#post-9395163)
 * Is there a forum thread for this issue or can I reference a specific contact 
   person from WPML that you talked to? Thanks!
 *  [Envirocycle](https://wordpress.org/support/users/enviroadmin/)
 * (@enviroadmin)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/multilingual-site-wpml/#post-9395203)
 * Here is the support thread at WPML: [https://wpml.org/forums/topic/invoice-plugin-not-translating-woocommerce-pdf-invoices-packing-slips_/](https://wpml.org/forums/topic/invoice-plugin-not-translating-woocommerce-pdf-invoices-packing-slips_/)
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/multilingual-site-wpml/#post-9395348)
 * Thanks!
 *  [Envirocycle](https://wordpress.org/support/users/enviroadmin/)
 * (@enviroadmin)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/multilingual-site-wpml/#post-9395472)
 * Ewout,
 * Approx. when will the new udate be available? (include a button to remove old
   settings from the database)
 * Thank you!
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/multilingual-site-wpml/#post-9395495)
 * Next week. You can also do this yourself by adding the following lines to your
   theme’s functions.php, open a page on your site and then remove the lines from
   functions.php again:
 *     ```
       // delete options
       delete_option( 'wpo_wcpdf_general_settings' );
       delete_option( 'wpo_wcpdf_template_settings' );
       delete_option( 'wpo_wcpdf_debug_settings' );
       // and delete cache of these options, just in case...
       wp_cache_delete( 'wpo_wcpdf_general_settings','options' );
       wp_cache_delete( 'wpo_wcpdf_template_settings','options' );
       wp_cache_delete( 'wpo_wcpdf_debug_settings','options' );
       ```
   
 *  [Envirocycle](https://wordpress.org/support/users/enviroadmin/)
 * (@enviroadmin)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/multilingual-site-wpml/#post-9395617)
 * Hi Ewout,
 * Thank you for the code snippet!
 * I was able to delete the old options of “wpo_wcpdf_template_settings”.
 * I created a new order and invoice but it is still not translated.
 * It keeps the default English language (en_US) of the string even if it is translated
   to French Canadian (fr_CA) in WPML/String Translation.
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/multilingual-site-wpml/#post-9397299)
 * Hi! That’s primarily a WPML issue, I don’t think it was related to the wpo_wcpdf_template_settings
   option in the first place.
 * I have had contact with one of the WPML developers and he couldn’t find any deprecated
   functions in the free plugin (the only WPML function there is `icl_get_languages`
   but it is not used in the free version), so perhaps there’s something else on
   your site that is using a deprecated function?
 * Either way, the rest is up to WPML support, I hope they can help you, as this
   is beyond the scope of support for the free plugin. Of course if any deprecated
   functions need to be replaced I’d be happy to do that.
 * Ewout
 *  [Envirocycle](https://wordpress.org/support/users/enviroadmin/)
 * (@enviroadmin)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/multilingual-site-wpml/#post-9439213)
 * Hi Ewout,
 * If we purchase the PRO version of this plugin, will this allow our “Shop Address”
   and “Footer” text to be translated properly?
 * Thank you for your help!
    Lisa

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/multilingual-site-wpml/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/multilingual-site-wpml/page/2/?output_format=md)

The topic ‘Multilingual site ( wpml )’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-pdf-invoices-packing-slips/assets/icon-256x256.
   png?rev=2189942)
 * [PDF Invoices & Packing Slips for WooCommerce](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/reviews/)

 * 16 replies
 * 3 participants
 * Last reply from: [Ewout](https://wordpress.org/support/users/pomegranate/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/multilingual-site-wpml/page/2/#post-9440659)
 * Status: resolved