Customer language synchronization between WooCommerce and Odoo can be handled in two different ways.
1. Use Order Metadata (WPML)
Customer language can be determined based on order metadata.
How it works:
The connector reads the
wpml_languagefield from the order metadataThis field is added by the WPML plugin
It stores the store language used at the time of purchase
How to Enable
To use the order metadata method, simply enable the corresponding checkbox in your e-commerce integration settings → Customers tab.
2. Use settings from WooCommerce user
In this method, the connector uses the language defined in the WordPress user profile.
How it works:
The language is taken from the user account settings
The language does not depend on the store view or language used during checkout
Important:
Even if a customer places an order in a different store language, the connector will still use the language set in the user profile.
Requirements:
To use this option, you need to install our WordPress plugin, which enables retrieving user language data:
What’s next?
See also these articles: