• Resolved elena.miteva

    (@elenamiteva)


    Does only the Premium version has the capability of creating invoices in different languages depending of the language version of the e-shop on which the customer has made the order?

    And I have read that it works only with Polylang and WPML? What if I don’t use these tools?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I use qtranslate-X and it works fine.

    In cases where your products have multi-lingual names and meta-data you may need to do some coding in the template files. For example in the packing slip body i replaced the line (which BTW uses a deprecated function):

    $order->display_item_meta( $item );

    With

    $my_locale = explode('_', get_locale())[0]; // Get first part of locale, like fr from fr_FR
    $my_str = wc_display_item_meta( $item, array('echo' => false));
    echo apply_filters('translate_text', $my_str, $my_locale);
    
    Plugin Author Bas Elbers

    (@baaaaas)

    Hi @elenamiteva,

    What tool are you using? WooCommerce PDF Invoices Premium is compatible with WPML and Polylang at the moment.

    @christer_f qTranslate-X is not officially supported yet, but there is an Issue where you can track development.

    But I must say, that it worries me a little qTranslate-X plugin has not been updated for like 11 months now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multilingual Invoice’ is closed to new replies.