Jump to content

Code injection for a language switch button

Recommended Posts

hi guys, 

i've followed this guide regarding creating a bilingual website:

https://www.bradgood.net/articles/multi-language-content-on-any-squarespace-template

i can't create a switch though, i follow the code an this is what comes out:

Screenshot2023-04-01alle18_51_01.thumb.png.914e81c5e4dae544543a19d05162ba02.png

i would like to put a simple switch with just the words (english or Italian) no flag or whatever,  on the right, next to the instragram and facebook button.

how can i do that?

thanks

Link to comment
  • Replies 6
  • Views 506
  • Created
  • Last Reply

Top Posters In This Topic

You have forgotten to place this code within the <script> tags.

About me: I'm Paul. A SQSP User for 18 yrs, I joined Circle when it launched in 2016 and have been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing expertise and extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee fuels my work.

Book paid help with a Squarespace Domain

Link to comment
On 4/4/2023 at 8:36 AM, Zenocavallari said:

I added the script tags, now i can see the switch but its still not working properly

The comment below should be below the opening script tag, not above it:

/*setup language switcher*/

Did this help? Please give feedback by clicking an icon below  ⬇️

About me: I'm Paul. A SQSP User for 18 yrs, I joined Circle when it launched in 2016 and have been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing expertise and extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee fuels my work.

Book paid help with a Squarespace Domain

Link to comment
  • John_SQSP changed the title to Code injection for a language switch button

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.