Jump to content

Change button language in navigation for Squarespace 7.0

Go to solution Solved by paul2009,

Recommended Posts

Site URL: https://lifelab.world/en/home

Hello!

I need some help in changing the "Book Now" button on my navigation menu. I used bradgood's tutorial in building a multilingual website. I am on a SS7.0 business plan using Brine- Impact template. 

My idea was to create 2 links for the second navigation, 1 for English "BOOK NOW" which is already present and another in German "JETZT BUCHEN" which I placed on the not linked pages for now to avoid duplication. I may need a code to hide the other language while the EN language is used or vice versa.

Is this possible? 

Thank you so much!

 

Link to comment
54 minutes ago, Naomi-lifelab said:

Site URL: https://lifelab.world/en/home

Hello!

I need some help in changing the "Book Now" button on my navigation menu. I used bradgood's tutorial in building a multilingual website. I am on a SS7.0 business plan using Brine- Impact template. 

My idea was to create 2 links for the second navigation, 1 for English "BOOK NOW" which is already present and another in German "JETZT BUCHEN" which I placed on the not linked pages for now to avoid duplication. I may need a code to hide the other language while the EN language is used or vice versa.

Is this possible? 

Thank you so much!

 

Can you share the German link?

Edited by bangank36

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Hi bangak36,

Sorry for not providing links for further checking. I enabled the German booking button just now which is JETZT BUCHEN on the Nav bar. But it is only showing on the English page, but when I switch to the German page it disappears. I have attached a screenshot for reference.

English link:

https://lifelab.world/en/home

Here is the German link:
https://lifelab.world/de/home/

I hope this is possible to fix as I am not that fluent in coding and such. 😞

Thank you!

Home page EN.png

Link to comment
  • Solution

This should be simple to resolve.

Remove the protocol and domain name (https://lifelab.world) from the URLs in these two links so that only the paths remain:

/en/home/
/de/home/

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to 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 is optional.

Link to comment

Thank you paul2009,

I feel so stupid for not knowing this. 🤦‍♀️ 

I do have another question somewhat related to the nav bar.


I set the home page is in German, but the whenever I go to the main link: https://lifelab.world/ or on the logo. The navigation is in English but the texts are in German. How can I make the nav menu in German as well? 

Thank you in advance! 

Home page.png

Link to comment
Just now, Naomi-lifelab said:

Thank you paul2009,

I feel so stupid for not knowing this. 🤦‍♀️ 

I do have another question somewhat related to the nav bar.


I set the home page is in German, but the whenever I go to the main link: https://lifelab.world/ or on the logo. The navigation is in English but the texts are in German. How can I make the nav menu in German as well? 

Thank you in advance! 

Home page.png

 The footer is also in English as well. 😐

Link to comment
17 minutes ago, Naomi-lifelab said:

I set the home page is in German, but the whenever I go to the main link: https://lifelab.world/ or on the logo. The navigation is in English

Check this line in the code 🙂:

 

var defaultLanguage = 'en';

 

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to 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 is optional.

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.