Jump to content

Multilingual manual integration using blog or Language Switch not working

Recommended Posts

Hey there,

I am using 7.1 and my default language is english.

I want to add French and I struggling to implement this Blog info:

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

I have created all of the the french pages succesfully but I can't add the icon to transition from english to french.

I don't know if I should use the integrated Language swith (right) or the blogs (left) but either way, both don't work.

Can someone please lend a hand for this not-for-profit founder who is trying to avoid paying for the pricier App ?

image.thumb.png.537601036fca407d479413d329dafef8.png

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

Top Posters In This Topic

Change this code

image.thumb.png.58cebcc99f565e6d1e4a22bb5f249b38.png

to this code

 /* SETUP LANGUAGE SWITCHER */
    $('.header-actions.header-actions--right').prepend('<div class="language"><a href="/en/home" class="lang-en"><span class="flag-icon flag-icon-us"></span></a> <a href="/fr/home/" class="lang-fr"><span class="flag-icon flag-icon-fr"></span></a></div>');

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 8/30/2024 at 7:49 AM, haitiansugarcane said:

Thank you so much! It works! 🙂

Now I would like to change the logo(in the header on the middle) when on the french site to :

RootsFR_logo1_color_Med.jpg

 

Is that possible please?

Can you send this image file? Or send image url, I can test code easier

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.