Jump to content

Customized Language Pop-Up

Recommended Posts

Hello, 

My site is currently in two languages. English and Spanish, using the Weglot extension and subdirectories. (Site password is: centralgala). I want to include a pop-up that changes the site language should they desire to select "English" or "Spanish" upon arrival. I currently have the pop-up set to only if they land on the homepage site (English), and the button for Spanish goes to mysite.com/es (because that's the only way that makes sense right now).

I want to make it so that no matter what page new users come across, the pop-up will show up, and if they want to switch the language the button selection will redirect them to either the /CurrentPageName (English), or the /en/CurrentPageName (Spanish) using that pop-upHopefully, that makes sense. 

Thanks to you all in advance!

Link to comment
  • Replies 1
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.