Skip to main content
Contributor II
February 24, 2022
Solved

Out of Stock Notification for Bilingual Store

  • February 24, 2022
  • 11 replies
  • 839 views

If my store is Bilingual (using languify) , can I setpu bilingual out of stock pop-up 

 

For example:

In language A UI: only shows language A OOS popup

In language B UI: only show language B OOS popup ?

Best answer by alex.hong

Hi there @pmjchan,

We use IP Geolocation when gathering the location data of the profiles in your account. When someone clicks through a Klaviyo email, subscribes via a Klaviyo signup form, or are otherwise captured by our web tracking snippet, we will identify the person and use the IP they are on to set his/her location. Based on this data, you are able to segment profiles according to their location, thus using the appropriate language for the emails they will receive. 
Another way you can target profiles with different languages is by creating a separate signup for each region you are trying to target. you can have the signup forms be a different language and also have those profiles go to a specific list that is for that language. For example, you can make a sign up that is in Spanish, that will only show in Mexico or Spain, and you can have the profiles that sign up to it added to a "Spanish List" and have a Spanish Welcome Flow sent out to those members. 

?name=Screen+Shot+2019-08-12+at+12.16.19+PM.png

Another thing you can do is give people the option to choose what language they want to sign up for on the signup form and make different flows for each language that is available.
Here are some documents that explain these further:
When and How Klaviyo Sets a Profile Location
Creating a Location Based Segment
Klaviyo's Support for Multiple Language

 

Hope this helped,

Alex

11 replies

Problem Solver I
March 6, 2025

@fred_leoludo

Thank you so much. This solution is amazing. I have been battling with this for days.

Just for the others still looking, just replace this part in the theme.liquid file by :

then, under Assets, go to the JSON file of the default language (say “en” for e.g) and add this under “products” and “product” : 

Now replace your content with whatever you’d like. Do the same for the other languages (fr.json, or any other languages.