Naomi-lifelab Posted February 17, 2022 Posted February 17, 2022 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! Beyondspace 1
Beyondspace Posted February 17, 2022 Posted February 17, 2022 (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 February 17, 2022 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
Naomi-lifelab Posted February 22, 2022 Author Posted February 22, 2022 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!
Solution paul2009 Posted February 22, 2022 Solution Posted February 22, 2022 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/ Naomi-lifelab 1 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.
Naomi-lifelab Posted February 22, 2022 Author Posted February 22, 2022 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!
Naomi-lifelab Posted February 22, 2022 Author Posted February 22, 2022 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! The footer is also in English as well. 😐
paul2009 Posted February 22, 2022 Posted February 22, 2022 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'; Naomi-lifelab 1 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.
Naomi-lifelab Posted February 22, 2022 Author Posted February 22, 2022 8 minutes ago, paul2009 said: Check this line in the code 🙂: var defaultLanguage = 'en'; Thank you so much paul2009! I have been staring on the code for a few minutes and trying to do my research on this forum as well. 😅 paul2009 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment