The Flexible Invoices plugin is compatible with the WPML plugin and is ready for translations. The invoices will be issued in the language of a user session during placing an order in WooCommerce. The sections below explain how translations work and how to configure WPML support for Flexible Invoices in your WooCommerce store.
Learn more about WPML
WPML & Flexible Invoices for WooCommerce#
Invoices generated for WooCommerce orders are saved in the language in which the order was placed using WPML.
All fields displayed on the invoice can be translated. The plugin also supports translations of:
- The VAT number field in the checkout form
- Order items
- Shipping method
- Payment method
- E-mails with the invoice download link that are sent to the customers
- Download link in the My Account section of your site
Adding the translations#
When configuring the plugin, you can edit certain text strings (e.g., the invoice prefix). You can edit these strings only in the site's default language. For other languages, these fields cannot be edited directly. Use the String Translation tool to translate them:

To translate Flexible Invoices strings, use the String Translation tool, just as you would for any other plugin. Open the String Translation screen and add your translations:

Text domains you should be using while working with translations:
- flexible-invoices
- flexible-invoices-woocommerce
Flexible Invoices for WordPress#
If you decide to issue an invoice that won't be related to WooCommerce order (using Invoices -> Add New), the invoice language will be the same as logged in user's language which generates the invoice.
Deactivate and reactivate the Flexible Invoices for WordPress plugin to reload the default translations included in the plugin's .mo files. This will overwrite your current translations.
Troubleshooting#
Phrase's language flag does not match its actual language#
If a string's language flag does not match its actual language while you are translating, the string may have been saved when its language was set to the site's default language (e.g., before WPML was activated).

Phrase's language flag does not match its actual language
To resolve this issue, choose one of the following solutions:
- delete the string (after deleting, it will be added again automatically)
- manually change the string's language using the Change the language of selected strings button

There Are Strings in Different Languages on the Invoice#
If there are mixed languages on the invoice, please make sure that all phrases are translated in the String Translation tool. If a string has no translation, other strings may not load correctly. Translating the remaining strings should resolve this issue.
