fbpx
Skip to content
Questions & AnswersCategory: QuestionsJust want to show default language
kakansundberg asked 6 years ago
Hi! I'm using Multilingualizer to translate my Squarespace site to Swedish. I would love the site to just be shown in Swedish. How do I customize the code for this?

Best

Karin
2 Answers
Freddy Jones answered 6 years ago

Hi Karin, 
This is covered under the Translating the hard-coded text in Squarespace header in on our support page 
You fill find the instructions and appropriate extension file there. 
Cheers
 
 
 

Dave Hilditch Staff answered 6 years ago

Replace this code in the squarespace extensions file:

if (readCookie('language') != '') {
currentlanguage=readCookie('language');
} else {
currentlanguage = 0;
}

Replace all above lines with this single line:

currentlanguage = 1;

Other than that, translate the text to Swedish in the hard coded extensions file/

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.