Jump to content

Change button language in navigation for Squarespace 7.0

Go to solution Solved by paul2009,

Recommended Posts

Posted

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!

 

Posted (edited)
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 - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

Posted

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

  • Solution
Posted

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/

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original 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 completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Posted

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

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

Posted
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';

 

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original 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 completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

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.