Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Multilingual website with language redirect


Drewster

Question

Hello everyone, 

I am currently creating an event website for three different events which follow under the same branding. Since the content won't be the same as the events will be held in different times and with different panelists, I was wondering if there was a way to have a redirect whenever someone enters on the website, based on the browser language -

as for example if you have your language set up as german you will be redirected to /de/home and so on for the other three languages.

Hope this is feasible, thanks as always for your huge help!

Best,

Andrea

 

Link to comment
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0
1 hour ago, Drewster said:

I was wondering if there was a way to have a redirect whenever someone enters on the website, based on the browser language -

as for example if you have your language set up as german you will be redirected to /de/home and so on for the other three languages.

 

Yes, it's possible to do this with JavaScript but there are a number of factors to consider. For example, which page(s) do you want to redirect? Do you want to always redirect or prompt visitors to choose? Which languages do you intend do support?

Also, if you post a question that will require code, it helps if you include a link to the site. If the site isn't live, you'll also want to set a password in the visibility settings and share it with us. Without this, we won't be able to view the site.

sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi! I'm Paul, an independent Squarespace Consultant since 2007 and founder of SF Digital, building the features that Squarespace didn't include. Our mini-extensions allow you to pick dates in any format, show prices in other currencies, take orders without payment or improve your cartI value honesty, integrity, transparency and respect . Links in my posts may refer to SF Digital products or may be affiliate links.

Link to comment
  • 0
Posted (edited)

Thanks for the answer Paul,

The website would cover english / german / french with possibility to expand further to spanish and other languages depending on the outcome we get.

I am currently thinking of having the redirect in place only on the Homepage, as they could be interested in the other events held in different languages and I don't want to have a recurring redirect that makes it impossible for them to reach the other event pages. (Happy to hear suggestions if you think there are other best practices)

The website is currently a dummy website  that I am using to test the whole structure out and to make sure that the redirect is feasible itself

https://mypersonaltestingwebsite.squarespace.com/  psw: Allstar98

 

Edited by Drewster
Link to comment

Create an account or sign in to comment

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


×
×
  • Create New...