Jump to content

Multilingual site displaying both languages in main nav

Go to solution Solved by paul2009,

Recommended Posts

Hi! I have multilingual site (manually build, no Weglot).  The problem is that both languages are displaying in main navigation....Site is new, Squarespace 7.1. I have tried this code from https://www.bradgood.net/articles/multi-language-content-on-any-squarespace-template   But it’s not working – like, NOTHING happens…(both languages are visible in navigation and the language switch is not visible either)...The code has absolute no effect...(?). It was mentioned on one topic that it might be due to Ajax, but my site is "new" 7.1 so there’s no Ajax…(?) Does that code work anymore with new sites..? Or is there some other way to do this....? I couldn`t find much about this subject anywhere...so Help! Anyone? 

Link to comment
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Please provide a working link to the site. Without it, we can't diagnose the issue.

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment

Brad's code works, so if you're having difficulties on your site, it's a working link to your site that we need.

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment
  • Solution

There is an issue with type of quote marks used in this line:

image.png.667af6ada914a7c925dd0ab6da5112b8.png

If you replace these curly ones with straight ones, this should fix this error:

image.thumb.png.b999cc3783374bdefd6fe517c1dd907e.png

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

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment
On 12/14/2022 at 6:33 PM, KD_fi said:

When I click some page on navigation, another language nav displays (flashes) momentarily...Is there anything that can be done about?

This typically happens when you are logged in. To see how your site is performing for visitors, try viewing the site from an incognito window when you aren't logged in.

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

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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...

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.