Ok – can you check it now? I’ve added the following code – if anyone else has a problem where every page is working when loaded directly but when you’re navigating around it doesn’t – your SquareSpace theme updates content using JavaScript (you can often tell by there being a # in the URL as you navigate around). Add the code below to fix:
<script>window.setInterval(function() { mutated = true;}, 250);</script>
Add the code line above at the bottom of your Code Injection area. This problem occurs on *some* SquareSpace themes so don’t use it if you’re not seeing the problem – the value of 250 means to check for translations every 250 milliseconds – so if you’re seeing a bit of lag in the translations when you move from page to page you can reduce this value but don’t reduce it too far as it will use CPU on the clients browser.
Super. It seems to have fixed it. Thanks Dave.
Please login or Register to submit your answer
Hi – thanks for bringing this to my attention. It doesn’t look like you’re doing anything wrong – you have the formatting correct etc. It looks like your theme is using JavaScript to alter the content and yet somehow this change is not firing the event that the Multilingualizer listens to. I’m going to send you an email so you can invite me as contributor and I can take a look directly on your site to figure out a solution.
Ok thanks that would be fantastic.