Skip to main content
Solved

Multilanguage flow for wordpress with Wmpl


Forum|alt.badge.img+1

Hello, 

 

How can I use the language URL parameter (e.g., /?lang=de) to send abandoned cart emails in different languages for my WooCommerce store with WPML? Our store is in 5 languages and we have 1 domain. For example, if a visitor comes to the German version of the site and leaves an abandoned cart, I want to send the email in German.

 

Are there any best practices for managing multilingual abandoned cart emails to ensure they are sent in the correct language based on the user's selected language?"

Best answer by Byrne C

Hi ​@JevgeniV 

Have you worked out a solution for this issue yet?

Turning these URL parameters into profile properties that are able to be used inside flow filters and splits would be a bit tricky - not saying it’s not doable, but it may require a custom solution.

I’d instead recommend using conditional splits in your flow that check the country of the profile. For example, the below screenshot would be the definition of a conditional split where you want to send people from Sweden down the YES path:

From there, you can create emails in the most commonly used languages for each country you add to the flow. Let me know if this helps, or if I can answer any additional questions regarding this.

-Byrne

View original
Did this topic or the replies in the thread help you find an answer to your question?

4 replies

Timmy Solomon
Problem Solver III
Forum|alt.badge.img+5
  • Problem Solver III
  • 19 replies
  • January 13, 2025

Hi @JevgeniV,

Great question! Sending abandoned cart emails in the correct language for a multilingual WooCommerce store with WPML is definitely achievable. Here’s how you can set it up:

1. Use WPML Language Parameters

Klaviyo can capture the /?lang=xx parameter from your website's URL. To do this:

  • Ensure that your WooCommerce site is configured with WPML and the language parameter is appended to the URL for each language (e.g., /?lang=de for German).
  • Install and configure the Klaviyo WooCommerce integration to sync cart data and visitor information, including the URL parameter.

2. Create Segments by Language

  • Use Klaviyo’s Profile Properties to capture the language parameter (lang=de, lang=fr, etc.) when someone visits your site or adds an item to their cart.
  • Create a segment for each language based on this property (e.g., “Visitors with lang=de for German”).

3. Set Up Separate Flows for Each Language

  • Duplicate your abandoned cart flow for each language.
  • Customize the email content in the appropriate language for each flow.
  • Use dynamic tags or custom translations where needed to personalize the emails.

4. Dynamic Email Content (Optional)

If you prefer to manage fewer flows:

  • Use dynamic content in a single flow to send emails in multiple languages.
  • Add conditional blocks within the email template based on the user’s language property (e.g., if profile language = de).

5. Testing and Optimization

  • Test your flows to ensure emails are triggered correctly for each language.
  • Monitor engagement metrics for each language to identify areas for improvement.

Best Practices:

  • Always include fallback content in your primary language to ensure coverage.
  • Regularly update translations to match product or campaign changes.
  • Use A/B testing to optimize email performance across different languages.

Let us know if you need further assistance with setting this up!


Christiannoerbjerg
Expert Problem Solver II
Forum|alt.badge.img+12

Hi ​@JevgeniV 

Thank you for posting in the Community!

Interesting question! Let me give you my thoughts below! 

The first thing that i would try is to see, how many of your subscribers, who have included their country or possibly home address on their profile. You can use the country property to filter upon.

If that doesn’t work. I would try to filter upon the referrer site data, that klaviyo captures on the metric. You could also try to include a trigger split, which is setup to identify, if the URL of the product or the links included in the API-data contains, let’s say lang=de. Then you can use that to filter upon.

Hope that helps or else let me know! :-) 

There are multiple ways, that you can solve this.

Christian Nørbjerg Enger
Partner & CPO
Web: Segmento.dk
LinkedIn: @christianfromsegmento
Voldbjergvej 22b, 8240 Risskov


Forum|alt.badge.img+1
  • Author
  • Contributor I
  • 1 reply
  • January 14, 2025
Timmy Solomon wrote:

2. Create Segments by Language

  • Use Klaviyo’s Profile Properties to capture the language parameter (lang=de, lang=fr, etc.) when someone visits your site or adds an item to their cart.
  • Create a segment for each language based on this property (e.g., “Visitors with lang=de for German”).

could you please elaborate on this step? which values to use in segment to catch visitors by language parametr? When u create a sign up form u can target by certain URL. What is the equivalent for it in segment builder?

 


Byrne C
Community Manager
Forum|alt.badge.img+10
  • Community Manager
  • 72 replies
  • Answer
  • January 23, 2025

Hi ​@JevgeniV 

Have you worked out a solution for this issue yet?

Turning these URL parameters into profile properties that are able to be used inside flow filters and splits would be a bit tricky - not saying it’s not doable, but it may require a custom solution.

I’d instead recommend using conditional splits in your flow that check the country of the profile. For example, the below screenshot would be the definition of a conditional split where you want to send people from Sweden down the YES path:

From there, you can create emails in the most commonly used languages for each country you add to the flow. Let me know if this helps, or if I can answer any additional questions regarding this.

-Byrne