Another week, another upgrade
Great news for everyone – I worked furiously over the weekend to optimize the speed of the Multilingualizer with great results.
I’m still awaiting feedback from everyone, but with the 2 or 3 clients who have installed it so far they are over the moon with the improved speed.
The latest version also introduces automatic upgrades, so you’ll no longer need to log in and regenerate code when you want to take advantage of upgrades to the Multilingualizer as they’ll be automatic from now on.
To get the latest version, visit your account and regenerate the code for one last time. Copy and paste over to your site, replacing the old code, and now you have automatically upgrading Multilingualizer code as well as far faster performance.
Any comments welcome, especially feedback on performance.
Eric
June 29, 2016 @ 1:35 pm
Hi Dave,
Just saw this post, thanks for all the hard work on keeping multilinguilizer in top shape.
Where will the code be hosted? Is there some flavour of CDN?
I’m asking because if I understand correctly, from now on every time my page loads it will need to prefetch your code?
Dave Hilditch
June 29, 2016 @ 3:09 pm
The code upgrade is in your /my-account/ area – Click the link in the menu.
The code is not currently using a CDN, but I will add a CDN shortly which will be a transparent process – you will not need to change anything.
You almost understand correctly – the *first* time your page loads, it will fetch the code. All subsequent times it loads it will use a cached copy of the code. Since the code was rewritten for full theme compatibility, it’s gotten a little large. This approach of including a JavaScript file is far quicker than loading the code on every page which is what you were doing up till now.
Try it – everyone who has is raving about the performance boost, especially on mobile.
The file will be cached on your users computers for up to a week. This low cache level is to allow for updates and upgrades to be deployed.
Eric
June 30, 2016 @ 2:59 am
Excellent. Much appreciated Dave, I will test right away. Keep up the good work and communication!
Jane McGill
June 30, 2016 @ 3:36 pm
Hi Dave,
Will this allow me to translate the “Read More” text on blog summary blocks? I don’t see anything in the Squarespace Extension that will do this.
Thanks.
Dave Hilditch
June 30, 2016 @ 9:17 pm
No – but if you use the squarespace extensions script from the support page, if you see the lines at the end of that file – if you just copy one of those lines and put Read More and then your translation then it will do what you need.
Jane McGill
July 1, 2016 @ 1:49 pm
Thanks Dave but it didn’t work. Any ideas why?
Marise
July 6, 2016 @ 12:31 pm
Same problem with perifmedia.com (squarespace pacific template), the ‘Read more’ link is not translated even when I add the translation in extensions script.
Dave, please find a solution, ‘Read more’ link appears frequently in squarespace.
Thanks
Dave Hilditch
July 6, 2016 @ 4:23 pm
Hi – I’ll update the support page now with a guide to adding extra translations if you find any missing.
In the meantime, if you add this line of code to your extensions file (just after the last one which looks similar to this) it will translate Read More:
jQuery(‘*’).replaceText(/Read More/gi, “Lire la suite”);
Jane McGill
July 6, 2016 @ 7:48 pm
I tried both solutions:
jQuery(‘*’).replaceText(/Read More/gi, “Lire la suite”);
jQuery(‘*’).replaceText(escapeRegExp(“Read More”), “Lire la suite””);
and neither worked. Everything else is fine, just this doesn’t seem to be affected no matter what.
Any idea why?
Dave Hilditch
July 6, 2016 @ 8:04 pm
Yes – I’ve just helped Marise with this. I’ll update the support page with details shortly as it’s problematic posting the code in comments.
Jane McGill
July 6, 2016 @ 8:18 pm
Thanks for following up Dave.
Just to be clear I should have:
jQuery(‘*’).replaceText(escapeRegExp(“Read More”), “Lire la suite”);
// document.write(”);
//document.write(”);
right after
jQuery(‘*’).replaceText(/Back to top/gi, “Retour en haut”);
This is what I have but still nothing. Sorry to be a pain!
Dave Hilditch
July 6, 2016 @ 8:41 pm
Sorry – there was a problem with posting the full code to the comments section.
Please visit: https://www.multilingualizer.com/mlcode/squarespace.extension.english.french.txt, make sure you refresh the page to get the latest version, and at the bottom you’ll see the extra 2 lines to add
Jane McGill
July 6, 2016 @ 8:55 pm
Worked perfectly! Thanks!
Marise
July 6, 2016 @ 12:40 pm
HI Dave, If we change the block boundary to something else than ‘….’, is there a fast way to change all existing 4 dots to the new character choosen?
Thanks
Dave Hilditch
July 6, 2016 @ 4:21 pm
Not yet – I will be working on a way to do this in the future, but at the moment no. My priority is to make a visual editor to eliminate the need to understand the 4 dots/2 dots etc.
Marise
July 6, 2016 @ 7:00 pm
Yes it will be fine to have a more friendly editor.
Thanks
Duri
July 28, 2016 @ 11:54 am
Hi Dave
the update to 3.91 is great so far. it is working fast.
Thanx for you work, fantastic
info7
October 14, 2016 @ 2:33 am
It will be great if you find a solution to have video or gallery of images for French or English in Squarespace Pacific template.
When I put the [english] or [french] in the caption, this does not work, neither for video thumbnail.
Will you find a solution soon for this?
Thanks